LLVM: llvm::DWARFAbbreviationDeclaration Class Reference (original) (raw)

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

Public Member Functions
LLVM_ABI DWARFAbbreviationDeclaration ()
uint32_t getCode () const
uint8_t getCodeByteSize () const
dwarf::Tag getTag () const
bool hasChildren () const
attr_iterator_range attributes () const
dwarf::Form getFormByIndex (uint32_t idx) const
size_t getNumAttributes () const
dwarf::Attribute getAttrByIndex (uint32_t idx) const
bool getAttrIsImplicitConstByIndex (uint32_t idx) const
int64_t getAttrImplicitConstValueByIndex (uint32_t idx) const
LLVM_ABI std::optional< uint32_t > findAttributeIndex (dwarf::Attribute attr) const
Get the index of the specified attribute.
LLVM_ABI std::optional< DWARFFormValue > getAttributeValue (const uint64_t DIEOffset, const dwarf::Attribute Attr, const DWARFUnit &U) const
Extract a DWARF form value from a DIE specified by DIE offset.
LLVM_ABI uint64_t getAttributeOffsetFromIndex (uint32_t AttrIndex, uint64_t DIEOffset, const DWARFUnit &U) const
Compute an offset from a DIE specified by DIE offset and attribute index.
LLVM_ABI std::optional< DWARFFormValue > getAttributeValueFromOffset (uint32_t AttrIndex, uint64_t Offset, const DWARFUnit &U) const
Extract a DWARF form value from a DIE speccified by attribute index and its offset.
LLVM_ABI llvm::Expected< ExtractState > extract (DataExtractor Data, uint64_t *OffsetPtr)
LLVM_ABI void dump (raw_ostream &OS) const
LLVM_ABI std::optional< size_t > getFixedAttributesByteSize (const DWARFUnit &U) const

attr_iterator_range

AttributeSpecVector

ExtractState

DWARFAbbreviationDeclaration::DWARFAbbreviationDeclaration ( )

attributes()

attr_iterator_range llvm::DWARFAbbreviationDeclaration::attributes ( ) const inline

dump()

void DWARFAbbreviationDeclaration::dump ( raw_ostream & OS ) const

extract()

findAttributeIndex()

Get the index of the specified attribute.

Searches the this abbreviation declaration for the index of the specified attribute.

Parameters

attr DWARF attribute to search for.

Returns

Optional index of the attribute if found, std::nullopt otherwise.

Definition at line 162 of file DWARFAbbreviationDeclaration.cpp.

Referenced by getAttributeValue().

getAttrByIndex()

getAttributeOffsetFromIndex()

getAttributeValue()

getAttributeValueFromOffset()

getAttrImplicitConstValueByIndex()

int64_t llvm::DWARFAbbreviationDeclaration::getAttrImplicitConstValueByIndex ( uint32_t idx) const inline

getAttrIsImplicitConstByIndex()

bool llvm::DWARFAbbreviationDeclaration::getAttrIsImplicitConstByIndex ( uint32_t idx) const inline

getCode()

uint32_t llvm::DWARFAbbreviationDeclaration::getCode ( ) const inline

getCodeByteSize()

uint8_t llvm::DWARFAbbreviationDeclaration::getCodeByteSize ( ) const inline

getFixedAttributesByteSize()

std::optional< size_t > DWARFAbbreviationDeclaration::getFixedAttributesByteSize ( const DWARFUnit & U ) const

getFormByIndex()

getNumAttributes()

size_t llvm::DWARFAbbreviationDeclaration::getNumAttributes ( ) const inline

getTag()

dwarf::Tag llvm::DWARFAbbreviationDeclaration::getTag ( ) const inline

hasChildren()

bool llvm::DWARFAbbreviationDeclaration::hasChildren ( ) const inline

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