LLVM
8.0.1
|
Apple-specific implementation of an Accelerator Entry. More...
#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"
Public Member Functions | |
Optional< uint64_t > | getCUOffset () const override |
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. More... | |
Optional< uint64_t > | getDIESectionOffset () const |
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. More... | |
Optional< dwarf::Tag > | getTag () const override |
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. More... | |
Optional< DWARFFormValue > | lookup (HeaderData::AtomType Atom) const |
Returns the value of the Atom in this Accelerator Entry, if the Entry contains such Atom. More... | |
Public Member Functions inherited from llvm::DWARFAcceleratorTable::Entry | |
ArrayRef< DWARFFormValue > | getValues () const |
Returns the raw values of fields in the Accelerator Entry. More... | |
Friends | |
class | AppleAcceleratorTable |
class | ValueIterator |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::DWARFAcceleratorTable::Entry | |
Entry ()=default | |
Entry (const Entry &)=default | |
Entry (Entry &&)=default | |
Entry & | operator= (const Entry &)=default |
Entry & | operator= (Entry &&)=default |
~Entry ()=default | |
Protected Attributes inherited from llvm::DWARFAcceleratorTable::Entry | |
SmallVector< DWARFFormValue, 3 > | Values |
Apple-specific implementation of an Accelerator Entry.
Definition at line 117 of file DWARFAcceleratorTable.h.
|
overridevirtual |
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.
Implements llvm::DWARFAcceleratorTable::Entry.
Definition at line 292 of file DWARFAcceleratorTable.cpp.
References llvm::dwarf::DW_ATOM_cu_offset, and lookup().
Optional< uint64_t > AppleAcceleratorTable::Entry::getDIESectionOffset | ( | ) | const |
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.
Definition at line 288 of file DWARFAcceleratorTable.cpp.
References llvm::dwarf::DW_ATOM_die_offset, and lookup().
|
overridevirtual |
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.
Implements llvm::DWARFAcceleratorTable::Entry.
Definition at line 296 of file DWARFAcceleratorTable.cpp.
References llvm::dwarf::DW_ATOM_die_tag, llvm::DWARFFormValue::getAsUnsignedConstant(), lookup(), llvm::None, and llvm::Tag.
Optional< DWARFFormValue > AppleAcceleratorTable::Entry::lookup | ( | HeaderData::AtomType | Atom | ) | const |
Returns the value of the Atom in this Accelerator Entry, if the Entry contains such Atom.
Definition at line 278 of file DWARFAcceleratorTable.cpp.
References assert(), llvm::None, and llvm::zip_first().
|
friend |
Definition at line 140 of file DWARFAcceleratorTable.h.
|
friend |
Definition at line 141 of file DWARFAcceleratorTable.h.