A DWARFDataExtractor (typically for an in-memory copy of an object-file section) plus a relocation map for that section, if there is one.
Declared in <llvm/DebugInfo/DWARF/DWARFDataExtractor.h>
class DWARFDataExtractor
: public DWARFDataExtractorBase<DWARFDataExtractor>
| Name | Description |
|---|---|
DWARFDataExtractorBase<DWARFDataExtractor> | A DataExtractor suitable use for parsing dwarf from memory. Clients use Relocator::getRelocatedValueImpl to relocate values as appropriate. |
| Name | Description |
|---|---|
DWARFDataExtractor [constructor] | Constructors |
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 | Extracts a value and applies a relocation to the result if one exists for the given offset. |
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 |
|---|---|
DWARFDataExtractor | Inherit base DWARFDataExtractorBase constructors. |
| 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. |