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:
Method Overview
- public AppleAcceleratorTable(const llvm::DWARFDataExtractor & AccelSection, llvm::DataExtractor StringSection)
- public void dump(llvm::raw_ostream & OS) const
- public iterator_range<llvm::AppleAcceleratorTable::ValueIterator> equal_range(llvm::StringRef Key) const
- public llvm::Error extract()
- public ArrayRef<std::pair<HeaderData::AtomType, HeaderData::Form>> getAtomsDesc()
- public uint32_t getHeaderDataLength()
- public uint32_t getNumBuckets()
- public uint32_t getNumHashes()
- public uint32_t getSizeHdr()
- public std::pair<uint64_t, dwarf::Tag> readAtoms(uint64_t * HashDataOffset)
- public bool validateForms()
Inherited from DWARFAcceleratorTable:
Methods
¶AppleAcceleratorTable(
const llvm::DWARFDataExtractor& AccelSection,
llvm::DataExtractor StringSection)
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
void dump(llvm::raw_ostream& OS) const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:197
Parameters
¶iterator_range<
llvm::AppleAcceleratorTable::ValueIterator>
equal_range(llvm::StringRef Key) const
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()
llvm::Error extract()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:177
¶ArrayRef<std::pair<HeaderData::AtomType,
HeaderData::Form>>
getAtomsDesc()
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()
uint32_t getHeaderDataLength()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:181
¶uint32_t getNumBuckets()
uint32_t getNumBuckets()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:178
¶uint32_t getNumHashes()
uint32_t getNumHashes()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:179
¶uint32_t getSizeHdr()
uint32_t getSizeHdr()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:180
¶std::pair<uint64_t, dwarf::Tag> readAtoms(
uint64_t* HashDataOffset)
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()
bool validateForms()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:186