LLVM: llvm::DWARFListTableBase< DWARFListType > Class Template Reference (original) (raw)
A class representing a table of lists as specified in the DWARF v5 standard for location lists and range lists. More...
#include "[llvm/DebugInfo/DWARF/DWARFListTable.h](DWARFListTable%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| void | clear () |
| Error | extractHeaderAndOffsets (DWARFDataExtractor Data, uint64_t *OffsetPtr) |
| Extract the table header and the array of offsets. | |
| Error | extract (DWARFDataExtractor Data, uint64_t *OffsetPtr) |
| Extract an entire table, including all list entries. | |
| Expected< DWARFListType > | findList (DWARFDataExtractor Data, uint64_t Offset) const |
| Look up a list based on a given offset. | |
| uint64_t | getHeaderOffset () const |
| uint8_t | getAddrSize () const |
| uint32_t | getOffsetEntryCount () const |
| dwarf::DwarfFormat | getFormat () const |
| void | dump (DWARFDataExtractor Data, raw_ostream &OS, llvm::function_ref< std::optional< object::SectionedAddress >(uint32_t)> LookupPooledAddress, DIDumpOptions DumpOpts={}) const |
| std::optional< uint64_t > | getOffsetEntry (DataExtractor Data, uint32_t Index) const |
| Return the contents of the offset entry designated by a given index. | |
| uint8_t | getHeaderSize () const |
| Return the size of the table header including the length but not including the offsets. | |
| uint64_t | length () |
template<typename DWARFListType>
class llvm::DWARFListTableBase< DWARFListType >
A class representing a table of lists as specified in the DWARF v5 standard for location lists and range lists.
The table consists of a header followed by an array of offsets into a DWARF section, followed by zero or more list entries. The list entries are kept in a map where the keys are the lists' section offsets.
Definition at line 148 of file DWARFListTable.h.
◆ clear()
◆ dump()
◆ extract()
◆ extractHeaderAndOffsets()
◆ findList()
◆ getAddrSize()
◆ getFormat()
◆ getHeaderOffset()
◆ getHeaderSize()
◆ getOffsetEntry()
◆ getOffsetEntryCount()
◆ length()
The documentation for this class was generated from the following file:
- include/llvm/DebugInfo/DWARF/DWARFListTable.h