class AppleAcceleratorTable

Declaration

class AppleAcceleratorTable : public DWARFAcceleratorTable { /* full declaration omitted */ };

Description

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

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:83

Inherits from: DWARFAcceleratorTable

Member Variables

Inherited from DWARFAcceleratorTable:

protected AccelSection
protected StringSection

Method Overview

Inherited from DWARFAcceleratorTable:

Methods

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

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:173

Parameters

const llvm::DWARFDataExtractor& AccelSection
llvm::DataExtractor StringSection

void dump(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:197

Parameters

llvm::raw_ostream& OS

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

Description

Look up all entries in the accelerator table matching \c Key.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:200

Parameters

llvm::StringRef Key

llvm::Error extract()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:177

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

Description

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

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:185

uint32_t getHeaderDataLength()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:181

uint32_t getNumBuckets()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:178

uint32_t getNumHashes()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:179

uint32_t getSizeHdr()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:180

std::pair<uint64_t, dwarf::Tag> readAtoms(
    uint64_t* HashDataOffset)

Description

Return information related to the DWARF DIE we're looking for when performing a lookup by name.

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:196

Parameters

uint64_t* HashDataOffset
an offset into the hash data table

Returns

<DieOffset , DieTag> DieOffset is the offset into the .debug_info section for the DIE related to the input hash data offset. DieTag is the tag of the DIE

bool validateForms()

Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:186