LLVM 20.0.0git
|
An abstract class representing a single entry in the accelerator tables. More...
#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"
Public Member Functions | |
virtual std::optional< uint64_t > | getCUOffset () const =0 |
Returns the Offset of the Compilation Unit associated with this Accelerator Entry or std::nullopt if the Compilation Unit offset is not recorded in this Accelerator Entry. | |
virtual std::optional< uint64_t > | getLocalTUOffset () const |
Returns the Offset of the Type Unit associated with this Accelerator Entry or std::nullopt if the Type Unit offset is not recorded in this Accelerator Entry. | |
virtual std::optional< uint64_t > | getForeignTUTypeSignature () const |
Returns the type signature of the Type Unit associated with this Accelerator Entry or std::nullopt if the Type Unit offset is not recorded in this Accelerator Entry. | |
virtual std::optional< dwarf::Tag > | getTag () const =0 |
Returns the Tag of the Debug Info Entry associated with this Accelerator Entry or std::nullopt if the Tag is not recorded in this Accelerator Entry. | |
ArrayRef< DWARFFormValue > | getValues () const |
Returns the raw values of fields in the Accelerator Entry. | |
Protected Member Functions | |
Entry ()=default | |
Entry (const Entry &)=default | |
Entry (Entry &&)=default | |
Entry & | operator= (const Entry &)=default |
Entry & | operator= (Entry &&)=default |
~Entry ()=default | |
Protected Attributes | |
SmallVector< DWARFFormValue, 3 > | Values |
An abstract class representing a single entry in the accelerator tables.
Definition at line 39 of file DWARFAcceleratorTable.h.
|
protecteddefault |
|
protecteddefault |
|
protecteddefault |
|
pure virtual |
Returns the Offset of the Compilation Unit associated with this Accelerator Entry or std::nullopt if the Compilation Unit offset is not recorded in this Accelerator Entry.
Implemented in llvm::AppleAcceleratorTable::Entry, and llvm::DWARFDebugNames::Entry.
|
inlinevirtual |
Returns the type signature of the Type Unit associated with this Accelerator Entry or std::nullopt if the Type Unit offset is not recorded in this Accelerator Entry.
Reimplemented in llvm::DWARFDebugNames::Entry.
Definition at line 70 of file DWARFAcceleratorTable.h.
|
inlinevirtual |
Returns the Offset of the Type Unit associated with this Accelerator Entry or std::nullopt if the Type Unit offset is not recorded in this Accelerator Entry.
Reimplemented in llvm::DWARFDebugNames::Entry.
Definition at line 62 of file DWARFAcceleratorTable.h.
|
pure virtual |
Returns the Tag of the Debug Info Entry associated with this Accelerator Entry or std::nullopt if the Tag is not recorded in this Accelerator Entry.
Implemented in llvm::AppleAcceleratorTable::Entry, and llvm::DWARFDebugNames::Entry.
|
inline |
Returns the raw values of fields in the Accelerator Entry.
In general, these can only be interpreted with the help of the metadata in the owning Accelerator Table.
Definition at line 83 of file DWARFAcceleratorTable.h.
References Values.
|
protected |
Definition at line 41 of file DWARFAcceleratorTable.h.
Referenced by llvm::DWARFDebugNames::NameIndex::getEntry(), and getValues().