Common base for Apple and DWARF 5 accelerator tables.

Synopsis

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

class DWARFAcceleratorTable;

Description

The accelerator tables are designed to allow efficient random access (using a symbol name as a key) into debug info by providing an index of the debug info DIEs. This class implements the common functionality of Apple and DWARF 5 accelerator tables. TODO: Generalize the rest of the AppleAcceleratorTable interface and move it to this class.

Types

Name

Description

Entry

An abstract class representing a single entry in the accelerator tables.

Member Functions

Name

Description

DWARFAcceleratorTable [constructor]

Constructors

~DWARFAcceleratorTable [destructor] [virtual]

Destroy this accelerator table.

operator= [deleted]

Deleted copy assignment operator.

dump [virtual]

Dump this accelerator table to OS.

extract [virtual]

Parse the accelerator table from AccelSection.

Protected Data Members

Name

Description

AccelSection

Contents of the accelerator table section.

StringSection

Contents of the string table section referenced by the accelerator table.

Derived Classes

Name

Description

AppleAcceleratorTable

This implements the Apple accelerator table format, a precursor of the DWARF 5 accelerator table format.

DWARFDebugNames

Parser for the DWARF v5 .debug_names accelerator section.

Created with MrDocs