LLVM 22.0.0git
llvm::DWARFAcceleratorTable::Entry Class Referenceabstract

An abstract class representing a single entry in the accelerator tables. More...

#include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"

Inheritance diagram for llvm::DWARFAcceleratorTable::Entry:
[legend]

Public Member Functions

virtual std::optional< uint64_tgetCUOffset () 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_tgetLocalTUOffset () 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_tgetForeignTUTypeSignature () 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::TaggetTag () 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< DWARFFormValuegetValues () const
 Returns the raw values of fields in the Accelerator Entry.

Protected Member Functions

 Entry ()=default
 Entry (const Entry &)=default
 Entry (Entry &&)=default
Entryoperator= (const Entry &)=default
Entryoperator= (Entry &&)=default
 ~Entry ()=default

Protected Attributes

SmallVector< DWARFFormValue, 3 > Values

Detailed Description

An abstract class representing a single entry in the accelerator tables.

Definition at line 40 of file DWARFAcceleratorTable.h.

Constructor & Destructor Documentation

◆ Entry() [1/3]

llvm::DWARFAcceleratorTable::Entry::Entry ( )
protecteddefault

Referenced by Entry(), Entry(), operator=(), and operator=().

◆ Entry() [2/3]

llvm::DWARFAcceleratorTable::Entry::Entry ( const Entry & )
protecteddefault

References Entry().

◆ Entry() [3/3]

llvm::DWARFAcceleratorTable::Entry::Entry ( Entry && )
protecteddefault

References Entry().

◆ ~Entry()

llvm::DWARFAcceleratorTable::Entry::~Entry ( )
protecteddefault

Member Function Documentation

◆ getCUOffset()

virtual std::optional< uint64_t > llvm::DWARFAcceleratorTable::Entry::getCUOffset ( ) const
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.

◆ getForeignTUTypeSignature()

virtual std::optional< uint64_t > llvm::DWARFAcceleratorTable::Entry::getForeignTUTypeSignature ( ) const
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 71 of file DWARFAcceleratorTable.h.

◆ getLocalTUOffset()

virtual std::optional< uint64_t > llvm::DWARFAcceleratorTable::Entry::getLocalTUOffset ( ) const
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 63 of file DWARFAcceleratorTable.h.

◆ getTag()

virtual std::optional< dwarf::Tag > llvm::DWARFAcceleratorTable::Entry::getTag ( ) const
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.

◆ getValues()

ArrayRef< DWARFFormValue > llvm::DWARFAcceleratorTable::Entry::getValues ( ) const
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 84 of file DWARFAcceleratorTable.h.

References Values.

◆ operator=() [1/2]

Entry & llvm::DWARFAcceleratorTable::Entry::operator= ( const Entry & )
protecteddefault

References Entry().

◆ operator=() [2/2]

Entry & llvm::DWARFAcceleratorTable::Entry::operator= ( Entry && )
protecteddefault

References Entry().

Member Data Documentation

◆ Values


The documentation for this class was generated from the following file: