LLVM 19.0.0git
Classes | Public Member Functions | Protected Attributes | List of all members
llvm::DWARFAcceleratorTable Class Referenceabstract

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. More...

#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"

Inheritance diagram for llvm::DWARFAcceleratorTable:
Inheritance graph
[legend]

Classes

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

Public Member Functions

 DWARFAcceleratorTable (const DWARFDataExtractor &AccelSection, DataExtractor StringSection)
 
virtual ~DWARFAcceleratorTable ()
 
virtual Error extract ()=0
 
virtual void dump (raw_ostream &OS) const =0
 
 DWARFAcceleratorTable (const DWARFAcceleratorTable &)=delete
 
void operator= (const DWARFAcceleratorTable &)=delete
 

Protected Attributes

DWARFDataExtractor AccelSection
 
DataExtractor StringSection
 

Detailed 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.

Definition at line 32 of file DWARFAcceleratorTable.h.

Constructor & Destructor Documentation

◆ DWARFAcceleratorTable() [1/2]

llvm::DWARFAcceleratorTable::DWARFAcceleratorTable ( const DWARFDataExtractor AccelSection,
DataExtractor  StringSection 
)
inline

Definition at line 78 of file DWARFAcceleratorTable.h.

◆ ~DWARFAcceleratorTable()

DWARFAcceleratorTable::~DWARFAcceleratorTable ( )
virtualdefault

◆ DWARFAcceleratorTable() [2/2]

llvm::DWARFAcceleratorTable::DWARFAcceleratorTable ( const DWARFAcceleratorTable )
delete

Member Function Documentation

◆ dump()

virtual void llvm::DWARFAcceleratorTable::dump ( raw_ostream OS) const
pure virtual

◆ extract()

virtual Error llvm::DWARFAcceleratorTable::extract ( )
pure virtual

◆ operator=()

void llvm::DWARFAcceleratorTable::operator= ( const DWARFAcceleratorTable )
delete

Member Data Documentation

◆ AccelSection

DWARFDataExtractor llvm::DWARFAcceleratorTable::AccelSection
protected

◆ StringSection

DataExtractor llvm::DWARFAcceleratorTable::StringSection
protected

Definition at line 35 of file DWARFAcceleratorTable.h.


The documentation for this class was generated from the following files: