LLVM API Documentation
#include <MachineDebugInfo.h>
Inheritance diagram for llvm::GlobalVariableDesc:
Public Member Functions | |
GlobalVariableDesc () | |
GlobalVariable * | getGlobalVariable () 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 * | AnchorString |
Definition at line 634 of file MachineDebugInfo.h.
GlobalVariableDesc::GlobalVariableDesc | ( | ) |
Definition at line 1069 of file MachineDebugInfo.cpp.
GlobalVariable* llvm::GlobalVariableDesc::getGlobalVariable | ( | ) | const [inline] |
Definition at line 642 of file MachineDebugInfo.h.
void llvm::GlobalVariableDesc::setGlobalVariable | ( | GlobalVariable * | GV | ) | [inline] |
static bool llvm::GlobalVariableDesc::classof | ( | const GlobalVariableDesc * | ) | [inline, static] |
Definition at line 646 of file MachineDebugInfo.h.
bool GlobalVariableDesc::classof | ( | const DebugInfoDesc * | D | ) | [static] |
Reimplemented from llvm::DebugInfoDesc.
Definition at line 1075 of file MachineDebugInfo.cpp.
References D, and llvm::dwarf::DW_TAG_variable.
void GlobalVariableDesc::ApplyToFields | ( | DIVisitor * | Visitor | ) | [virtual] |
ApplyToFields - Target the visitor to the fields of the GlobalVariableDesc.
Reimplemented from llvm::GlobalDesc.
Definition at line 1081 of file MachineDebugInfo.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 1089 of file MachineDebugInfo.cpp.
Referenced by dump().
const char * GlobalVariableDesc::getTypeString | ( | ) | const [virtual] |
getTypeString - Return a string used to label this descriptor's type.
Implements llvm::DebugInfoDesc.
Definition at line 1095 of file MachineDebugInfo.cpp.
const char * GlobalVariableDesc::getAnchorString | ( | ) | const [virtual] |
getAnchorString - Return a string used to label descriptor's anchor.
Implements llvm::AnchoredDesc.
Definition at line 1102 of file MachineDebugInfo.cpp.
References AnchorString.
void GlobalVariableDesc::dump | ( | ) | [virtual] |
Implements llvm::DebugInfoDesc.
Definition at line 1107 of file MachineDebugInfo.cpp.
References llvm::AnchoredDesc::getAnchor(), getDescString(), llvm::GlobalDesc::getDisplayName(), llvm::GlobalDesc::getFile(), llvm::GlobalDesc::getLine(), llvm::GlobalDesc::getName(), llvm::DebugInfoDesc::getTag(), llvm::GlobalDesc::getType(), llvm::DebugInfoDesc::getVersion(), llvm::GlobalDesc::isDefinition(), and llvm::GlobalDesc::isStatic().
const char * GlobalVariableDesc::AnchorString [static] |
getAnchorString - Return a string used to label this descriptor's anchor.
Definition at line 663 of file MachineDebugInfo.h.
Referenced by getAnchorString(), and llvm::AnchorDesc::getDescString().