Non‐relocating DWARF data extractor for memory‐backed debug info.

Synopsis

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

class DWARFDataExtractorSimple
    : public DWARFDataExtractorBase<DWARFDataExtractorSimple>

Base Classes

Name

Description

DWARFDataExtractorBase<DWARFDataExtractorSimple>

A DataExtractor suitable use for parsing dwarf from memory. Clients use Relocator::getRelocatedValueImpl to relocate values as appropriate.

Member Functions

Name

Description

getAddress

getAddress overloads

getAddressSize

Get the address size for this extractor.

getEncodedPointer

Extract a DWARF‐encoded pointer at Offset using Encoding.

getInitialLength

getInitialLength overloads

getRelocatedAddress

getRelocatedAddress overloads

getRelocatedValue

getRelocatedValue overloads

getRelocatedValueImpl

Read an unsigned value of Size bytes without applying relocations.

isValidOffsetForAddress

Test the availability of enough bytes of data for an address from Offset. The size of an address is getAddressSize().

setAddressSize

Set the address size for this extractor.

Using Declarations

Name

Description

DWARFDataExtractorSimple

Inherit constructors from DWARFDataExtractorBase.

Non-Member Functions

Name

Description

readAbbrevAttribute

Read the next attribute/form spec from an abbreviation declaration.

xray::loadTrace

This function will attempt to load XRay trace records from the provided DataExtractor.

xray::readBinaryFormatHeader

Convenience function for loading the file header given a data extractor at a specified offset.

Created with MrDocs