llvm::DWARFDataExtractorSimple

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

NameDescription
DWARFDataExtractorBase<DWARFDataExtractorSimple>A DataExtractor suitable use for parsing dwarf from memory. Clients use Relocator::getRelocatedValueImpl to relocate values as appropriate.

Member Functions

NameDescription
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

NameDescription
DWARFDataExtractorSimple Inherit constructors from DWARFDataExtractorBase.

Non-Member Functions

NameDescription
readAbbrevAttributeRead the next attribute/form spec from an abbreviation declaration.
xray::loadTraceThis function will attempt to load XRay trace records from the provided DataExtractor.
xray::readBinaryFormatHeaderConvenience function for loading the file header given a data extractor at a specified offset.