LLVM  8.0.1
Classes | Public Member Functions | List of all members
llvm::AppleAcceleratorTable Class Reference

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

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

Inheritance diagram for llvm::AppleAcceleratorTable:
Inheritance graph
[legend]
Collaboration diagram for llvm::AppleAcceleratorTable:
Collaboration graph
[legend]

Classes

class  Entry
 Apple-specific implementation of an Accelerator Entry. More...
 
class  ValueIterator
 

Public Member Functions

 AppleAcceleratorTable (const DWARFDataExtractor &AccelSection, DataExtractor StringSection)
 
llvm::Error extract () override
 
uint32_t getNumBuckets ()
 
uint32_t getNumHashes ()
 
uint32_t getSizeHdr ()
 
uint32_t getHeaderDataLength ()
 
ArrayRef< std::pair< HeaderData::AtomType, HeaderData::Form > > getAtomsDesc ()
 Return the Atom description, which can be used to interpret the raw values of the Accelerator Entries in this table. More...
 
bool validateForms ()
 
std::pair< uint32_t, dwarf::TagreadAtoms (uint32_t &HashDataOffset)
 Return information related to the DWARF DIE we're looking for when performing a lookup by name. More...
 
void dump (raw_ostream &OS) const override
 
iterator_range< ValueIteratorequal_range (StringRef Key) const
 Look up all entries in the accelerator table matching Key. More...
 
- Public Member Functions inherited from llvm::DWARFAcceleratorTable
 DWARFAcceleratorTable (const DWARFDataExtractor &AccelSection, DataExtractor StringSection)
 
virtual ~DWARFAcceleratorTable ()
 
 DWARFAcceleratorTable (const DWARFAcceleratorTable &)=delete
 
void operator= (const DWARFAcceleratorTable &)=delete
 

Additional Inherited Members

- Protected Attributes inherited from llvm::DWARFAcceleratorTable
DWARFDataExtractor AccelSection
 
DataExtractor StringSection
 

Detailed Description

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

Definition at line 84 of file DWARFAcceleratorTable.h.

Constructor & Destructor Documentation

◆ AppleAcceleratorTable()

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

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void AppleAcceleratorTable::dump ( raw_ostream OS) const
overridevirtual

◆ equal_range()

iterator_range< AppleAcceleratorTable::ValueIterator > AppleAcceleratorTable::equal_range ( StringRef  Key) const

◆ extract()

llvm::Error AppleAcceleratorTable::extract ( )
overridevirtual

◆ getAtomsDesc()

ArrayRef< std::pair< AppleAcceleratorTable::HeaderData::AtomType, AppleAcceleratorTable::HeaderData::Form > > AppleAcceleratorTable::getAtomsDesc ( )

Return the Atom description, which can be used to interpret the raw values of the Accelerator Entries in this table.

Definition at line 92 of file DWARFAcceleratorTable.cpp.

◆ getHeaderDataLength()

uint32_t AppleAcceleratorTable::getHeaderDataLength ( )

Definition at line 86 of file DWARFAcceleratorTable.cpp.

◆ getNumBuckets()

uint32_t AppleAcceleratorTable::getNumBuckets ( )

Definition at line 83 of file DWARFAcceleratorTable.cpp.

◆ getNumHashes()

uint32_t AppleAcceleratorTable::getNumHashes ( )

Definition at line 84 of file DWARFAcceleratorTable.cpp.

◆ getSizeHdr()

uint32_t AppleAcceleratorTable::getSizeHdr ( )

Definition at line 85 of file DWARFAcceleratorTable.cpp.

◆ readAtoms()

std::pair< uint32_t, dwarf::Tag > AppleAcceleratorTable::readAtoms ( uint32_t HashDataOffset)

◆ validateForms()

bool AppleAcceleratorTable::validateForms ( )

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