LLVM: llvm::DWARFDebugNames::NameTableEntry Class Reference (original) (raw)

A single entry in the Name Table (DWARF v5 sect. More...

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

Public Member Functions
NameTableEntry (const DataExtractor &StrData, uint32_t Index, uint64_t StringOffset, uint64_t EntryOffset)
uint32_t getIndex () const
Return the index of this name in the parent Name Index.
uint64_t getStringOffset () const
Returns the offset of the name of the described entities.
const char * getString () const
Return the string referenced by this name table entry or nullptr if the string offset is not valid.
bool sameNameAs (StringRef Target) const
Compares the name of this entry against Target, returning true if they are equal.
uint64_t getEntryOffset () const
Returns the offset of the first Entry in the list.

A single entry in the Name Table (DWARF v5 sect.

6.1.1.4.6) of the Name Index.

Definition at line 557 of file DWARFAcceleratorTable.h.

getEntryOffset()

uint64_t llvm::DWARFDebugNames::NameTableEntry::getEntryOffset ( ) const inline

getIndex()

uint32_t llvm::DWARFDebugNames::NameTableEntry::getIndex ( ) const inline

getString()

const char * llvm::DWARFDebugNames::NameTableEntry::getString ( ) const inline

Return the string referenced by this name table entry or nullptr if the string offset is not valid.

Definition at line 578 of file DWARFAcceleratorTable.h.

getStringOffset()

uint64_t llvm::DWARFDebugNames::NameTableEntry::getStringOffset ( ) const inline

sameNameAs()

bool llvm::DWARFDebugNames::NameTableEntry::sameNameAs ( StringRef Target) const inline

Compares the name of this entry against Target, returning true if they are equal.

This is more efficient in hot code paths that do not need the length of the name.

Definition at line 586 of file DWARFAcceleratorTable.h.

References llvm::Data.


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