LLVM API Documentation

llvm::AnchorDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::AnchorDesc:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AnchorDesc ()
 AnchorDesc (AnchoredDesc *D)
unsigned getAnchorTag () const
virtual GlobalValue::LinkageTypes getLinkage () const
virtual void ApplyToFields (DIVisitor *Visitor)
virtual const char * getDescString () const
virtual const char * getTypeString () const
virtual void dump ()

Static Public Member Functions

static bool classof (const AnchorDesc *)
static bool classof (const DebugInfoDesc *D)

Detailed Description

Definition at line 148 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

AnchorDesc::AnchorDesc (  ) 

Definition at line 510 of file MachineDebugInfo.cpp.

AnchorDesc::AnchorDesc ( AnchoredDesc D  ) 

Definition at line 514 of file MachineDebugInfo.cpp.


Member Function Documentation

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

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

Reimplemented from llvm::DebugInfoDesc.

Definition at line 532 of file MachineDebugInfo.cpp.

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

bool AnchorDesc::classof ( const DebugInfoDesc D  )  [static]

Reimplemented from llvm::DebugInfoDesc.

Definition at line 520 of file MachineDebugInfo.cpp.

References D, and llvm::dwarf::DW_TAG_anchor.

static bool llvm::AnchorDesc::classof ( const AnchorDesc  )  [inline, static]

Definition at line 161 of file MachineDebugInfo.h.

void AnchorDesc::dump (  )  [virtual]

Implements llvm::DebugInfoDesc.

Definition at line 564 of file MachineDebugInfo.cpp.

References getDescString(), and llvm::DebugInfoDesc::getTag().

unsigned llvm::AnchorDesc::getAnchorTag (  )  const [inline]

Definition at line 158 of file MachineDebugInfo.h.

const char * AnchorDesc::getDescString (  )  const [virtual]

getDescString - Return a string used to compose global names and labels.

Implements llvm::DebugInfoDesc.

Definition at line 545 of file MachineDebugInfo.cpp.

References llvm::SubprogramDesc::AnchorString, llvm::GlobalVariableDesc::AnchorString, llvm::CompileUnitDesc::AnchorString, llvm::dwarf::DW_TAG_compile_unit, llvm::dwarf::DW_TAG_subprogram, and llvm::dwarf::DW_TAG_variable.

Referenced by dump().

GlobalValue::LinkageTypes AnchorDesc::getLinkage (  )  const [virtual]

getLinkage - get linkage appropriate for this type of descriptor.

Reimplemented from llvm::DebugInfoDesc.

Definition at line 526 of file MachineDebugInfo.cpp.

References llvm::GlobalValue::LinkOnceLinkage.

const char * AnchorDesc::getTypeString (  )  const [virtual]

getTypeString - Return a string used to label this descriptor's type.

Implements llvm::DebugInfoDesc.

Definition at line 559 of file MachineDebugInfo.cpp.


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