llvm::DWARF5AccelTableData

DIE-backed entry data for a DWARF v5 accelerator table.

Synopsis

Declared in <llvm/CodeGen/AccelTable.h>

class DWARF5AccelTableData
    : public AccelTableData

Description

Unlike the Apple Data classes, this class is just a DIE wrapper, and does not know to serialize itself. The complete serialization logic is in the emitDWARF5AccelTable function.

Base Classes

NameDescription
AccelTableDataInterface for accelerator table entry data used by AccelTable.

Member Functions

NameDescription
DWARF5AccelTableData [constructor]Constructors
getAbbrevNumber Returns AbbrevIndex for an Entry.
getDieOffset Return the DIE offset after normalization.
getDieOffsetAndUnitID Return the DIE offset paired with its unit identifier.
getDieTag Return the DWARF tag of the DIE.
getParentDieOffset Return the defining parent DIE offset, if any.
getParentDieOffsetAndUnitID Return the defining parent DIE offset and unit id, if any.
getUnitID Return the compilation or type unit identifier.
isNormalized Return true if the DIE has been replaced by an explicit offset.
isTU Return true if this entry belongs to a type unit.
normalizeDIEToOffset Replace the stored DIE pointer with its offset and parent offset.
print [virtual]Print this entry to OS for debugging.
setAbbrevNumber Sets AbbrevIndex for an Entry.
operator< Compare entries using their stable order key.

Static Member Functions

NameDescription
getDefiningParentDieOffset If Die has a non-null parent and the parent is not a declaration, return its offset.
hash Hash Name with the case-folding DJB hash used by DWARF v5.

Protected Member Functions

NameDescription
order [virtual]Order entries by DIE offset.

Protected Data Members

NameDescription
AbbrevNumber Abbreviation number assigned for emission.
DieTag DWARF tag of the DIE.
IsTU True if this entry belongs to a type unit.
OffsetVal Either the DIE pointer or its normalized offset within the unit.
ParentOffset Optional offset of the defining parent DIE.
UnitID Compilation or type unit identifier.