LLVM: llvm::DWARFListTableHeader Class Reference (original) (raw)

A class representing the header of a list table such as the range list table in the .debug_rnglists section. More...

#include "[llvm/DebugInfo/DWARF/DWARFListTable.h](DWARFListTable%5F8h%5Fsource.html)"

Public Member Functions
DWARFListTableHeader (StringRef SectionName, StringRef ListTypeString)
void clear ()
uint64_t getHeaderOffset () const
uint8_t getAddrSize () const
uint64_t getLength () const
uint16_t getVersion () const
uint32_t getOffsetEntryCount () const
StringRef getSectionName () const
StringRef getListTypeString () const
dwarf::DwarfFormat getFormat () const
LLVM_ABI void dump (DataExtractor Data, raw_ostream &OS, DIDumpOptions DumpOpts={}) const
std::optional< uint64_t > getOffsetEntry (DataExtractor Data, uint32_t Index) const
LLVM_ABI Error extract (DWARFDataExtractor Data, uint64_t *OffsetPtr)
Extract the table header and the array of offsets.
LLVM_ABI uint64_t length () const
Returns the length of the table, including the length field, or 0 if the length has not been determined (e.g.

A class representing the header of a list table such as the range list table in the .debug_rnglists section.

Definition at line 56 of file DWARFListTable.h.

llvm::DWARFListTableHeader::DWARFListTableHeader ( StringRef SectionName, StringRef ListTypeString ) inline

clear()

void llvm::DWARFListTableHeader::clear ( ) inline

dump()

extract()

Extract the table header and the array of offsets.

Definition at line 19 of file DWARFListTable.cpp.

References assert(), llvm::c_str(), llvm::DWARFContext::checkAddressSizeSupported(), llvm::createStringError(), llvm::Data, llvm::dwarf::DWARF64, getHeaderSize(), llvm::dwarf::getUnitLengthFieldByteSize(), llvm::invalid_argument, length(), llvm::not_supported, llvm::Error::success(), and llvm::toString().

getAddrSize()

uint8_t llvm::DWARFListTableHeader::getAddrSize ( ) const inline

getFormat()

getHeaderOffset()

uint64_t llvm::DWARFListTableHeader::getHeaderOffset ( ) const inline

getHeaderSize()

getLength()

uint64_t llvm::DWARFListTableHeader::getLength ( ) const inline

getListTypeString()

StringRef llvm::DWARFListTableHeader::getListTypeString ( ) const inline

getOffsetEntry() [1/2]

getOffsetEntry() [2/2]

getOffsetEntryCount()

uint32_t llvm::DWARFListTableHeader::getOffsetEntryCount ( ) const inline

getSectionName()

StringRef llvm::DWARFListTableHeader::getSectionName ( ) const inline

getVersion()

uint16_t llvm::DWARFListTableHeader::getVersion ( ) const inline

length()

uint64_t DWARFListTableHeader::length ( ) const

The documentation for this class was generated from the following files: