class DWARFDebugNames::NameTableEntry

Declaration

class DWARFDebugNames::NameTableEntry { /* full declaration omitted */ };

Description

A single entry in the Name Table (DWARF v5 sect. 6.1.1.4.6) of the Name Index.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:356

Member Variables

private llvm::DataExtractor StrData
private uint32_t Index
private uint64_t StringOffset
private uint64_t EntryOffset

Method Overview

Methods

NameTableEntry(const llvm::DataExtractor& StrData,
               uint32_t Index,
               uint64_t StringOffset,
               uint64_t EntryOffset)

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:364

Parameters

const llvm::DataExtractor& StrData
uint32_t Index
uint64_t StringOffset
uint64_t EntryOffset

uint64_t getEntryOffset() const

Description

Returns the offset of the first Entry in the list.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:383

uint32_t getIndex() const

Description

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

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:370

const char* getString() const

Description

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

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:377

uint64_t getStringOffset() const

Description

Returns the offset of the name of the described entities.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:373