LLVM  8.0.1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for llvm::DWARFAcceleratorTable::Entry:
Collaboration graph
[legend]

Public Member Functions

virtual Optional< uint64_t > getCUOffset () const =0
 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...
 
virtual Optional< dwarf::TaggetTag () const =0
 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...
 
ArrayRef< DWARFFormValuegetValues () const
 Returns the raw values of fields in the Accelerator Entry. More...
 

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 39 of file DWARFAcceleratorTable.h.

Constructor & Destructor Documentation

◆ Entry() [1/3]

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

◆ Entry() [2/3]

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

◆ Entry() [3/3]

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

◆ ~Entry()

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

Member Function Documentation

◆ getCUOffset()

virtual Optional<uint64_t> llvm::DWARFAcceleratorTable::Entry::getCUOffset ( ) const
pure virtual

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.

Implemented in llvm::DWARFDebugNames::Entry, and llvm::AppleAcceleratorTable::Entry.

Referenced by llvm::DWARFDebugNames::NameIndex::NameIndex().

◆ getTag()

virtual Optional<dwarf::Tag> llvm::DWARFAcceleratorTable::Entry::getTag ( ) const
pure virtual

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.

Implemented in llvm::DWARFDebugNames::Entry, and llvm::AppleAcceleratorTable::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 67 of file DWARFAcceleratorTable.h.

References Values.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ Values

SmallVector<DWARFFormValue, 3> llvm::DWARFAcceleratorTable::Entry::Values
protected

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