LLVM API Documentation

llvm::AnchoredDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::AnchoredDesc:

Inheritance graph
[legend]
Collaboration diagram for llvm::AnchoredDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

AnchorDescgetAnchor () const
void setAnchor (AnchorDesc *A)
virtual const char * getAnchorString () const =0
virtual void ApplyToFields (DIVisitor *Visitor)

Protected Member Functions

 AnchoredDesc (unsigned T)

Detailed Description

AnchoredDesc - This class manages anchors for a variety of top level descriptors.

Definition at line 188 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

AnchoredDesc::AnchoredDesc ( unsigned  T  )  [protected]

Definition at line 573 of file MachineDebugInfo.cpp.


Member Function Documentation

void AnchoredDesc::ApplyToFields ( DIVisitor Visitor  )  [virtual]

ApplyToFields - Target the visitor to the fields of the AnchoredDesc.

Reimplemented from llvm::DebugInfoDesc.

Reimplemented in llvm::CompileUnitDesc, llvm::GlobalDesc, llvm::GlobalVariableDesc, and llvm::SubprogramDesc.

Definition at line 580 of file MachineDebugInfo.cpp.

References llvm::DIVisitor::Apply(), and llvm::DebugInfoDesc::ApplyToFields().

Referenced by llvm::GlobalDesc::ApplyToFields(), and llvm::CompileUnitDesc::ApplyToFields().

AnchorDesc* llvm::AnchoredDesc::getAnchor (  )  const [inline]

Definition at line 199 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), llvm::GlobalVariableDesc::dump(), and llvm::CompileUnitDesc::dump().

virtual const char* llvm::AnchoredDesc::getAnchorString (  )  const [pure virtual]

getAnchorString - Return a string used to label descriptor's anchor.

Implemented in llvm::CompileUnitDesc, llvm::GlobalVariableDesc, and llvm::SubprogramDesc.

void llvm::AnchoredDesc::setAnchor ( AnchorDesc A  )  [inline]

Definition at line 200 of file MachineDebugInfo.h.

References A.


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