class DWARFDebugInfoEntry
Declaration
class DWARFDebugInfoEntry { /* full declaration omitted */ };
Description
DWARFDebugInfoEntry - A DIE with only the minimum required data.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:22
Member Variables
- private uint64_t Offset = 0
- Offset within the .debug_info of the start of this entry.
- private uint32_t ParentIdx = (4294967295U)
- Index of the parent die. UINT32_MAX if there is no parent.
- private uint32_t SiblingIdx = 0
- Index of the sibling die. Zero if there is no sibling.
- private const llvm::DWARFAbbreviationDeclaration* AbbrevDecl = nullptr
Method Overview
- public DWARFDebugInfoEntry()
- public bool extractFast(const llvm::DWARFUnit & U, uint64_t * OffsetPtr, const llvm::DWARFDataExtractor & DebugInfoData, uint64_t UEndOffset, uint32_t ParentIdx)
- public const llvm::DWARFAbbreviationDeclaration * getAbbreviationDeclarationPtr() const
- public uint64_t getOffset() const
- public Optional<uint32_t> getParentIdx() const
- public Optional<uint32_t> getSiblingIdx() const
- public dwarf::Tag getTag() const
- public bool hasChildren() const
- public void setSiblingIdx(uint32_t Idx)
Methods
¶DWARFDebugInfoEntry()
DWARFDebugInfoEntry()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:35
¶bool extractFast(
const llvm::DWARFUnit& U,
uint64_t* OffsetPtr,
const llvm::DWARFDataExtractor& DebugInfoData,
uint64_t UEndOffset,
uint32_t ParentIdx)
bool extractFast(
const llvm::DWARFUnit& U,
uint64_t* OffsetPtr,
const llvm::DWARFDataExtractor& DebugInfoData,
uint64_t UEndOffset,
uint32_t ParentIdx)
Description
Extracts a debug info entry, which is a child of a given unit, starting at a given offset. If DIE can't be extracted, returns false and doesn't change OffsetPtr. High performance extraction should use this call.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:41
Parameters
- const llvm::DWARFUnit& U
- uint64_t* OffsetPtr
- const llvm::DWARFDataExtractor& DebugInfoData
- uint64_t UEndOffset
- uint32_t ParentIdx
¶const llvm::DWARFAbbreviationDeclaration*
getAbbreviationDeclarationPtr() const
const llvm::DWARFAbbreviationDeclaration*
getAbbreviationDeclarationPtr() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:72
¶uint64_t getOffset() const
uint64_t getOffset() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:45
¶Optional<uint32_t> getParentIdx() const
Optional<uint32_t> getParentIdx() const
Description
Returns index of the parent die.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:48
¶Optional<uint32_t> getSiblingIdx() const
Optional<uint32_t> getSiblingIdx() const
Description
Returns index of the sibling die.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:56
¶dwarf::Tag getTag() const
dwarf::Tag getTag() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:66
¶bool hasChildren() const
bool hasChildren() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:70
¶void setSiblingIdx(uint32_t Idx)
void setSiblingIdx(uint32_t Idx)
Description
Set index of sibling.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h:64
Parameters
- uint32_t Idx