getInitialLength overloads

Synopses

Declared in <llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h>

Read a DWARF initial‐length field using a Cursor for offset and error.

std::pair<uint64_t, dwarf::DwarfFormat>
getInitialLength(Cursor& C) const;

Read a DWARF initial‐length field and its implied format.

std::pair<uint64_t, dwarf::DwarfFormat>
getInitialLength(
    uint64_t* Off,
    Error* Err = nullptr) const;

Return Value

Pair of (length, DWARF32/DWARF64 format).

Parameters

Name

Description

C

Cursor providing the offset and receiving any extraction error.

Off

Offset into the extractor; advanced past the field on success.

Err

Optional error out‐parameter.

Created with MrDocs