LLVM  8.0.1
Public Member Functions | List of all members
llvm::DWARFDebugNames::NameTableEntry Class Reference

A single entry in the Name Table (Dwarf 5 sect. More...

#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"

Public Member Functions

 NameTableEntry (const DataExtractor &StrData, uint32_t Index, uint32_t StringOffset, uint32_t EntryOffset)
 
uint32_t getIndex () const
 Return the index of this name in the parent Name Index. More...
 
uint32_t getStringOffset () const
 Returns the offset of the name of the described entities. More...
 
const chargetString () const
 Return the string referenced by this name table entry or nullptr if the string offset is not valid. More...
 
uint32_t getEntryOffset () const
 Returns the offset of the first Entry in the list. More...
 

Detailed Description

A single entry in the Name Table (Dwarf 5 sect.

6.1.1.4.6) of the Name Index.

Definition at line 354 of file DWARFAcceleratorTable.h.

Constructor & Destructor Documentation

◆ NameTableEntry()

llvm::DWARFDebugNames::NameTableEntry::NameTableEntry ( const DataExtractor StrData,
uint32_t  Index,
uint32_t  StringOffset,
uint32_t  EntryOffset 
)
inline

Definition at line 362 of file DWARFAcceleratorTable.h.

Member Function Documentation

◆ getEntryOffset()

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

Returns the offset of the first Entry in the list.

Definition at line 381 of file DWARFAcceleratorTable.h.

Referenced by llvm::DWARFDebugNames::dump(), llvm::DWARFDebugNames::NameIndex::getHashArrayEntry(), and getNames().

◆ getIndex()

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

Return the index of this name in the parent Name Index.

Definition at line 368 of file DWARFAcceleratorTable.h.

Referenced by llvm::DWARFDebugNames::NameIndex::getHashArrayEntry(), and getNames().

◆ 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 375 of file DWARFAcceleratorTable.h.

References llvm::DataExtractor::getCStr().

Referenced by llvm::DWARFDebugNames::dump(), llvm::DWARFDebugNames::NameIndex::getHashArrayEntry(), and getNames().

◆ getStringOffset()

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

Returns the offset of the name of the described entities.

Definition at line 371 of file DWARFAcceleratorTable.h.

Referenced by llvm::DWARFDebugNames::NameIndex::getHashArrayEntry().


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