LLVM API Documentation
#include <DebugInfo.h>
Public Member Functions | |
| DIGlobalVariable (GlobalVariable *GV=0) | |
| GlobalVariable * | getGlobal () const |
| bool | Verify () const |
| Verify - Verify that a global variable descriptor is well formed. | |
| void | dump () const |
| dump - print global variable. | |
Definition at line 291 of file DebugInfo.h.
| DIGlobalVariable::DIGlobalVariable | ( | GlobalVariable * | GV = 0 |
) | [explicit] |
Definition at line 100 of file DebugInfo.cpp.
| GlobalVariable* llvm::DIGlobalVariable::getGlobal | ( | ) | const [inline] |
Definition at line 294 of file DebugInfo.h.
References llvm::DIDescriptor::getGlobalVariableField().
| bool DIGlobalVariable::Verify | ( | ) | const |
Verify - Verify that a global variable descriptor is well formed.
Definition at line 239 of file DebugInfo.cpp.
References llvm::DIGlobal::getCompileUnit(), llvm::DIGlobal::getContext(), getGlobal(), llvm::DIGlobal::getType(), llvm::DIDescriptor::isNull(), Ty, llvm::DIType::Verify(), and llvm::DICompileUnit::Verify().
| void DIGlobalVariable::dump | ( | ) | const |
dump - print global variable.
Reimplemented from llvm::DIGlobal.
Definition at line 937 of file DebugInfo.cpp.
References llvm::cerr(), llvm::Value::dump(), and getGlobal().