class AppleAcceleratorTable::Entry

Declaration

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

Description

Apple-specific implementation of an Accelerator Entry.

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

Inherits from: DWARFAcceleratorTable::Entry

Member Variables

private const llvm::AppleAcceleratorTable::HeaderData* HdrData = nullptr

Inherited from DWARFAcceleratorTable::Entry:

protected Values

Method Overview

  • private Entry(const llvm::AppleAcceleratorTable::HeaderData & Data)
  • private Entry()
  • private void extract(const llvm::AppleAcceleratorTable & AccelTable, uint64_t * Offset)
  • public Optional<uint64_t> getCUOffset() const
  • public Optional<uint64_t> getDIESectionOffset() const
  • public Optional<dwarf::Tag> getTag() const
  • public Optional<llvm::DWARFFormValue> lookup(HeaderData::AtomType Atom) const

Inherited from DWARFAcceleratorTable::Entry:

Methods

Entry(
    const llvm::AppleAcceleratorTable::HeaderData&
        Data)

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

Parameters

const llvm::AppleAcceleratorTable::HeaderData& Data

Entry()

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

void extract(
    const llvm::AppleAcceleratorTable& AccelTable,
    uint64_t* Offset)

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

Parameters

const llvm::AppleAcceleratorTable& AccelTable
uint64_t* Offset

Optional<uint64_t> getCUOffset() const

Description

Returns the Offset of the Compilation Unit associated with this Accelerator Entry or None if the Compilation Unit offset is not recorded in this Accelerator Entry.

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

Optional<uint64_t> getDIESectionOffset() const

Description

Returns the Section Offset of the Debug Info Entry associated with this Accelerator Entry or None if the DIE offset is not recorded in this Accelerator Entry. The returned offset is relative to the start of the Section containing the DIE.

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

Optional<dwarf::Tag> getTag() const

Description

Returns the Tag of the Debug Info Entry associated with this Accelerator Entry or None if the Tag is not recorded in this Accelerator Entry.

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

Optional<llvm::DWARFFormValue> lookup(
    HeaderData::AtomType Atom) const

Description

Returns the value of the Atom in this Accelerator Entry, if the Entry contains such Atom.

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

Parameters

HeaderData::AtomType Atom