class DWARFListTableHeader
Declaration
class DWARFListTableHeader { /* full declaration omitted */ };
Description
A class representing the header of a list table such as the range list table in the .debug_rnglists section.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:56
Method Overview
- public DWARFListTableHeader(llvm::StringRef SectionName, llvm::StringRef ListTypeString)
- public void clear()
- public void dump(llvm::raw_ostream & OS, llvm::DIDumpOptions DumpOpts = {}) const
- public llvm::Error extract(llvm::DWARFDataExtractor Data, uint64_t * OffsetPtr)
- public uint8_t getAddrSize() const
- public dwarf::DwarfFormat getFormat() const
- public uint64_t getHeaderOffset() const
- public static uint8_t getHeaderSize(dwarf::DwarfFormat Format)
- public uint64_t getLength() const
- public llvm::StringRef getListTypeString() const
- public Optional<uint64_t> getOffsetEntry(uint32_t Index) const
- public llvm::StringRef getSectionName() const
- public uint16_t getVersion() const
- public uint64_t length() const
Methods
¶DWARFListTableHeader(
llvm::StringRef SectionName,
llvm::StringRef ListTypeString)
DWARFListTableHeader(
llvm::StringRef SectionName,
llvm::StringRef ListTypeString)
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:91
Parameters
- llvm::StringRef SectionName
- llvm::StringRef ListTypeString
¶void clear()
void clear()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:94
¶void dump(llvm::raw_ostream& OS,
llvm::DIDumpOptions DumpOpts = {}) const
void dump(llvm::raw_ostream& OS,
llvm::DIDumpOptions DumpOpts = {}) const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:118
Parameters
- llvm::raw_ostream& OS
- llvm::DIDumpOptions DumpOpts = {}
¶llvm::Error extract(llvm::DWARFDataExtractor Data,
uint64_t* OffsetPtr)
llvm::Error extract(llvm::DWARFDataExtractor Data,
uint64_t* OffsetPtr)
Description
Extract the table header and the array of offsets.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:126
Parameters
- llvm::DWARFDataExtractor Data
- uint64_t* OffsetPtr
¶uint8_t getAddrSize() const
uint8_t getAddrSize() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:99
¶dwarf::DwarfFormat getFormat() const
dwarf::DwarfFormat getFormat() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:104
¶uint64_t getHeaderOffset() const
uint64_t getHeaderOffset() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:98
¶static uint8_t getHeaderSize(
dwarf::DwarfFormat Format)
static uint8_t getHeaderSize(
dwarf::DwarfFormat Format)
Description
Return the size of the table header including the length but not including the offsets.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:108
Parameters
- dwarf::DwarfFormat Format
¶uint64_t getLength() const
uint64_t getLength() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:100
¶llvm::StringRef getListTypeString() const
llvm::StringRef getListTypeString() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:103
¶Optional<uint64_t> getOffsetEntry(
uint32_t Index) const
Optional<uint64_t> getOffsetEntry(
uint32_t Index) const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:119
Parameters
- uint32_t Index
¶llvm::StringRef getSectionName() const
llvm::StringRef getSectionName() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:102
¶uint16_t getVersion() const
uint16_t getVersion() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:101
¶uint64_t length() const
uint64_t length() const
Description
Returns the length of the table, including the length field, or 0 if the length has not been determined (e.g. because the table has not yet been parsed, or there was a problem in parsing).
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h:131