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 = "llvm.dbg.global_variables" |
Definition at line 591 of file MachineDebugInfo.h.
GlobalVariableDesc::GlobalVariableDesc | ( | ) |
Definition at line 1050 of file MachineDebugInfo.cpp.
void GlobalVariableDesc::ApplyToFields | ( | DIVisitor * | Visitor | ) | [virtual] |
ApplyToFields - Target the visitor to the fields of the GlobalVariableDesc.
Reimplemented from llvm::GlobalDesc.
Definition at line 1062 of file MachineDebugInfo.cpp.
References llvm::DIVisitor::Apply(), and llvm::GlobalDesc::ApplyToFields().
bool GlobalVariableDesc::classof | ( | const DebugInfoDesc * | D | ) | [static] |
Reimplemented from llvm::DebugInfoDesc.
Definition at line 1056 of file MachineDebugInfo.cpp.
References D, and llvm::dwarf::DW_TAG_variable.
static bool llvm::GlobalVariableDesc::classof | ( | const GlobalVariableDesc * | ) | [inline, static] |
Definition at line 603 of file MachineDebugInfo.h.
void GlobalVariableDesc::dump | ( | ) | [virtual] |
Implements llvm::DebugInfoDesc.
Definition at line 1088 of file MachineDebugInfo.cpp.
References llvm::AnchoredDesc::getAnchor(), getDescString(), llvm::GlobalDesc::getFile(), llvm::GlobalDesc::getLine(), llvm::GlobalDesc::getName(), llvm::DebugInfoDesc::getTag(), llvm::GlobalDesc::getType(), llvm::GlobalDesc::isDefinition(), and llvm::GlobalDesc::isStatic().
const char * GlobalVariableDesc::getAnchorString | ( | ) | const [virtual] |
getAnchorString - Return a string used to label descriptor's anchor.
Implements llvm::AnchoredDesc.
Definition at line 1083 of file MachineDebugInfo.cpp.
References AnchorString.
const char * GlobalVariableDesc::getDescString | ( | ) | const [virtual] |
getDescString - Return a string used to compose global names and labels.
Implements llvm::DebugInfoDesc.
Definition at line 1070 of file MachineDebugInfo.cpp.
Referenced by dump().
GlobalVariable* llvm::GlobalVariableDesc::getGlobalVariable | ( | ) | const [inline] |
Definition at line 599 of file MachineDebugInfo.h.
const char * GlobalVariableDesc::getTypeString | ( | ) | const [virtual] |
getTypeString - Return a string used to label this descriptor's type.
Implements llvm::DebugInfoDesc.
Definition at line 1076 of file MachineDebugInfo.cpp.
void llvm::GlobalVariableDesc::setGlobalVariable | ( | GlobalVariable * | GV | ) | [inline] |
const char * GlobalVariableDesc::AnchorString = "llvm.dbg.global_variables" [static] |
getAnchorString - Return a string used to label this descriptor's anchor.
Definition at line 620 of file MachineDebugInfo.h.
Referenced by getAnchorString(), and llvm::AnchorDesc::getDescString().