Extract a debug info entry that is a child of a given unit.

Synopsis

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

bool
extractFast(
    DWARFUnit const& U,
    uint64_t* OffsetPtr,
    DWARFDataExtractor const& DebugInfoData,
    uint64_t UEndOffset,
    uint32_t ParentIdx);

Description

Starts at a given offset. If DIE can't be extracted, returns false and doesn't change OffsetPtr. High performance extraction should use this call.

Return Value

True if the DIE was extracted successfully; false otherwise.

Parameters

Name

Description

U

Unit that owns this debug info entry.

OffsetPtr

Byte offset into the debug info; advanced past the DIE on success.

DebugInfoData

Extractor for the .debug_info section data.

UEndOffset

End offset of the unit within the debug info.

ParentIdx

Index of the parent die.

Created with MrDocs