LLVM API Documentation

llvm::GlobalVariableDesc Class Reference

#include <MachineModuleInfo.h>

Inheritance diagram for llvm::GlobalVariableDesc:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GlobalVariableDesc ()
GlobalVariablegetGlobalVariable () const
void setGlobalVariable (GlobalVariable *GV)
virtual void ApplyToFields (DIVisitor *Visitor)
virtual const char * getDescString () const
virtual const char * getTypeString () const
virtual const char * getAnchorString () const
virtual void dump ()

Static Public Member Functions

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

Static Public Attributes

static const char *const AnchorString = "llvm.dbg.global_variables"


Detailed Description

GlobalVariableDesc - This class packages debug information associated with a GlobalVariable.

Definition at line 648 of file MachineModuleInfo.h.


Constructor & Destructor Documentation

GlobalVariableDesc::GlobalVariableDesc (  ) 

Definition at line 1215 of file MachineModuleInfo.cpp.


Member Function Documentation

GlobalVariable* llvm::GlobalVariableDesc::getGlobalVariable (  )  const [inline]

Definition at line 656 of file MachineModuleInfo.h.

void llvm::GlobalVariableDesc::setGlobalVariable ( GlobalVariable GV  )  [inline]

Definition at line 657 of file MachineModuleInfo.h.

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

Definition at line 660 of file MachineModuleInfo.h.

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

Reimplemented from llvm::DebugInfoDesc.

Definition at line 1221 of file MachineModuleInfo.cpp.

References llvm::dwarf::DW_TAG_variable, and llvm::DebugInfoDesc::getTag().

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

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

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

Reimplemented from llvm::GlobalDesc.

Definition at line 1227 of file MachineModuleInfo.cpp.

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

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

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

Implements llvm::DebugInfoDesc.

Definition at line 1235 of file MachineModuleInfo.cpp.

Referenced by dump().

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

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

getTypeString - Return a string used to label this descriptors type.

Implements llvm::DebugInfoDesc.

Definition at line 1241 of file MachineModuleInfo.cpp.

const char * GlobalVariableDesc::getAnchorString (  )  const [virtual]

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

Implements llvm::AnchoredDesc.

Definition at line 1248 of file MachineModuleInfo.cpp.

References AnchorString.

void GlobalVariableDesc::dump (  )  [virtual]


Member Data Documentation

const char *const GlobalVariableDesc::AnchorString = "llvm.dbg.global_variables" [static]

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

Definition at line 677 of file MachineModuleInfo.h.

Referenced by getAnchorString(), and llvm::AnchorDesc::getDescString().


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.