LLVM: llvm::DWARFDebugAddrTable Class Reference (original) (raw)
A class representing an address table as specified in DWARF v5. More...
#include "[llvm/DebugInfo/DWARF/DWARFDebugAddr.h](DWARFDebugAddr%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| Error | extract (const DWARFDataExtractor &Data, uint64_t *OffsetPtr, uint16_t CUVersion, uint8_t CUAddrSize, std::function< void(Error)> WarnCallback) |
| Extract the entire table, including all addresses. | |
| Error | extractV5 (const DWARFDataExtractor &Data, uint64_t *OffsetPtr, uint8_t CUAddrSize, std::function< void(Error)> WarnCallback) |
| Extract a DWARFv5 address table. | |
| Error | extractPreStandard (const DWARFDataExtractor &Data, uint64_t *OffsetPtr, uint16_t CUVersion, uint8_t CUAddrSize) |
| Extract a pre-DWARFv5 address table. | |
| void | dump (raw_ostream &OS, DIDumpOptions DumpOpts={}) const |
| Expected< uint64_t > | getAddrEntry (uint32_t Index) const |
| Return the address based on a given index. | |
| std::optional< uint64_t > | getFullLength () const |
| Return the full length of this table, including the length field. | |
| dwarf::DwarfFormat | getFormat () const |
| Return the DWARF format of this table. | |
| uint64_t | getLength () const |
| Return the length of this table. | |
| uint16_t | getVersion () const |
| Return the version of this table. | |
| uint8_t | getAddressSize () const |
| Return the address size of this table. | |
| uint8_t | getSegmentSelectorSize () const |
| Return the segment selector size of this table. | |
| ArrayRef< uint64_t > | getAddressEntries () const |
| Return the parsed addresses of this table. |
A class representing an address table as specified in DWARF v5.
The table consists of a header followed by an array of address values from .debug_addr section.
Definition at line 26 of file DWARFDebugAddr.h.
◆ dump()
◆ extract()
◆ extractPreStandard()
◆ extractV5()
◆ getAddrEntry()
◆ getAddressEntries()
| ArrayRef< uint64_t > llvm::DWARFDebugAddrTable::getAddressEntries ( ) const | inline |
|---|
Return the parsed addresses of this table.
Definition at line 91 of file DWARFDebugAddr.h.
◆ getAddressSize()
| uint8_t llvm::DWARFDebugAddrTable::getAddressSize ( ) const | inline |
|---|
◆ getFormat()
◆ getFullLength()
| std::optional< uint64_t > DWARFDebugAddrTable::getFullLength | ( | ) | const |
|---|
◆ getLength()
| uint64_t llvm::DWARFDebugAddrTable::getLength ( ) const | inline |
|---|
◆ getSegmentSelectorSize()
| uint8_t llvm::DWARFDebugAddrTable::getSegmentSelectorSize ( ) const | inline |
|---|
Return the segment selector size of this table.
Definition at line 88 of file DWARFDebugAddr.h.
◆ getVersion()
| uint16_t llvm::DWARFDebugAddrTable::getVersion ( ) const | inline |
|---|
The documentation for this class was generated from the following files:
- include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h
- lib/DebugInfo/DWARF/DWARFDebugAddr.cpp