llvm::DWARFAbbreviationDeclaration

A single DWARF abbreviation declaration (code, tag, children, attributes).

Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h>

class DWARFAbbreviationDeclaration;

Types

NameDescription
AttributeSpec One attribute/form pair (and optional size or implicit value) in an abbreviation.

Type Aliases

NameDescription
AttributeSpecVector Ordered list of attribute specs that make up this abbreviation.
attr_iterator_range Const iterator range over this abbreviation's AttributeSpec entries.

Enums

NameDescription
ExtractState Outcome of parsing one abbreviation declaration from .debug_abbrev.

Member Functions

NameDescription
DWARFAbbreviationDeclaration [constructor]Construct an empty abbreviation declaration.
attributes Return a const range over this abbreviation's attribute/form specs.
dump Print this abbreviation's code, tag, children flag, and attributes to OS.
extract Parse one abbreviation from Data at OffsetPtr; returns Complete or MoreItems.
findAttributeIndex Get the index of the specified attribute.
getAttrByIndex Return the DWARF attribute at index idx in this abbreviation.
getAttrImplicitConstValueByIndex Implicit-const value of the attribute at index idx (must be DW_FORM_implicit_const).
getAttrIsImplicitConstByIndex Whether the attribute at index idx uses DW_FORM_implicit_const.
getAttributeOffsetFromIndex Compute an offset from a DIE specified by DIE offset and attribute index.
getAttributeValue Extract a DWARF form value from a DIE specified by DIE offset.
getAttributeValueFromOffset Extract a DWARF form value from a DIE speccified by attribute index and its offset.
getCode Return this abbreviation's DWARF abbreviation code.
getCodeByteSize Byte size of the ULEB128 encoding of this abbreviation's code.
getFixedAttributesByteSize Fixed byte size of all attribute payloads for unit U, if every form has a fixed size.
getFormByIndex Return the DWARF form of the attribute at index idx.
getNumAttributes Number of attribute/form pairs in this abbreviation declaration.
getTag Return the DWARF tag for DIEs that use this abbreviation.
hasChildren True if DIEs using this abbreviation have child DIEs.