Declared in <llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h>
class DWARFDataExtractorSimple
: public DWARFDataExtractorBase<DWARFDataExtractorSimple>
| Name | Description |
|---|---|
DWARFDataExtractorBase<DWARFDataExtractorSimple> | A DataExtractor suitable use for parsing dwarf from memory. Clients use Relocator::getRelocatedValueImpl to relocate values as appropriate. |
| Name | Description |
|---|---|
getAddress | getAddress overloads |
getAddressSize | Get the address size for this extractor. |
getEncodedPointer | Extracts a DWARF-encoded pointer in Offset using Encoding. There is a DWARF encoding that uses a PC-relative adjustment. For these values, AbsPosOffset is used to fix them, which should reflect the absolute address of this pointer. |
getInitialLength | getInitialLength overloads |
getRelocatedAddress | Extracts an address-sized value. |
getRelocatedValue | getRelocatedValue overloads |
getRelocatedValueImpl | |
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. |
| Name | Description |
|---|---|
DWARFDataExtractorSimple | Inherit constructors from DWARFDataExtractorBase. |
| Name | Description |
|---|---|
readAbbrevAttribute | Read the next (attribute, form) specification from an abbreviation declaration at Offset, advancing Offset past it. ImplicitConst is set to the inline value of a DW_FORM_implicit_const attribute and to std::nullopt otherwise. Returns false on the terminating (0, 0) pair. |
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. |