LLVM API Documentation
#include <DebugInfo.h>
Public Member Functions | |
| virtual | ~DIGlobal () |
| DIDescriptor | getContext () const |
| std::string | getName () const |
| std::string | getDisplayName () const |
| std::string | getLinkageName () const |
| DICompileUnit | getCompileUnit () const |
| unsigned | getLineNumber () const |
| DIType | getType () const |
| unsigned | isLocalToUnit () const |
| unsigned | isDefinition () const |
| void | dump () const |
| dump - print global. | |
Protected Member Functions | |
| DIGlobal (GlobalVariable *GV, unsigned RequiredTag) | |
Static Protected Member Functions | |
| static bool | isSubprogram (unsigned TAG) |
| static bool | isGlobalVariable (unsigned TAG) |
Definition at line 240 of file DebugInfo.h.
| llvm::DIGlobal::DIGlobal | ( | GlobalVariable * | GV, | |
| unsigned | RequiredTag | |||
| ) | [inline, explicit, protected] |
Definition at line 242 of file DebugInfo.h.
| virtual llvm::DIGlobal::~DIGlobal | ( | ) | [inline, virtual] |
Definition at line 258 of file DebugInfo.h.
| static bool llvm::DIGlobal::isSubprogram | ( | unsigned | TAG | ) | [inline, static, protected] |
isSubprogram - Return true if the specified tag is legal for DISubprogram.
Definition at line 247 of file DebugInfo.h.
References llvm::dwarf::DW_TAG_subprogram.
| static bool llvm::DIGlobal::isGlobalVariable | ( | unsigned | TAG | ) | [inline, static, protected] |
isGlobalVariable - Return true if the specified tag is legal for DIGlobalVariable.
Definition at line 253 of file DebugInfo.h.
References llvm::dwarf::DW_TAG_variable.
Referenced by dump().
| DIDescriptor llvm::DIGlobal::getContext | ( | ) | const [inline] |
Definition at line 260 of file DebugInfo.h.
References llvm::DIDescriptor::getDescriptorField().
Referenced by llvm::DIGlobalVariable::Verify(), and llvm::DISubprogram::Verify().
| std::string llvm::DIGlobal::getName | ( | ) | const [inline] |
Definition at line 261 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by dump().
| std::string llvm::DIGlobal::getDisplayName | ( | ) | const [inline] |
| std::string llvm::DIGlobal::getLinkageName | ( | ) | const [inline] |
| DICompileUnit llvm::DIGlobal::getCompileUnit | ( | ) | const [inline] |
Definition at line 264 of file DebugInfo.h.
Referenced by dump(), llvm::FunctionLoweringInfo::set(), llvm::DIGlobalVariable::Verify(), and llvm::DISubprogram::Verify().
| unsigned llvm::DIGlobal::getLineNumber | ( | ) | const [inline] |
Definition at line 265 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by dump(), and llvm::FunctionLoweringInfo::set().
| DIType llvm::DIGlobal::getType | ( | ) | const [inline] |
Reimplemented in llvm::DISubprogram.
Definition at line 266 of file DebugInfo.h.
Referenced by llvm::DIGlobalVariable::Verify().
| unsigned llvm::DIGlobal::isLocalToUnit | ( | ) | const [inline] |
isLocalToUnit - Return true if this subprogram is local to the current compile unit, like 'static' in C.
Definition at line 270 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by dump().
| unsigned llvm::DIGlobal::isDefinition | ( | ) | const [inline] |
Definition at line 271 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by dump().
| void DIGlobal::dump | ( | ) | const |
dump - print global.
Reimplemented in llvm::DISubprogram, and llvm::DIGlobalVariable.
Definition at line 911 of file DebugInfo.cpp.
References llvm::cerr(), llvm::DICompileUnit::dump(), getCompileUnit(), getLineNumber(), getName(), llvm::DIDescriptor::getTag(), isDefinition(), isGlobalVariable(), isLocalToUnit(), and llvm::dwarf::TagString().