A class representing a DWARF v5 table of location or range lists.

Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFListTable.h>

template<typename DWARFListType>
class DWARFListTableBase;

Description

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.

Member Functions

Name

Description

clear

Clear the table header and all extracted lists.

dump

Dump this list table to OS.

extract

Extract an entire table, including all list entries.

extractHeaderAndOffsets

Extract the table header and the array of offsets.

findList

Look up a list based on a given offset. Extract it and enter it into the list map if necessary.

getAddrSize

Return the address size recorded in the table header.

getFormat

Return the DWARF format of this table.

getHeaderOffset

Return the offset of the table header within its section.

getHeaderSize

Return the size of the table header excluding the offset array.

getOffsetEntry

Return the contents of the offset entry designated by a given index.

getOffsetEntryCount

Return the number of offset entries in the table header.

length

Return the full length of the table, including the length field.

Protected Member Functions

Name

Description

DWARFListTableBase [constructor]

Construct a list table for the given section and dump labels.

Derived Classes

Name

Description

DWARFDebugRnglistTable

A class representing a range list table from the .debug_rnglists section.

Created with MrDocs