LLVM API Documentation
#include <DebugInfo.h>
Public Member Functions | |
| virtual | ~DIGlobal () |
| DIDescriptor | getContext () const |
| const std::string & | getName (std::string &F) const |
| const std::string & | getDisplayName (std::string &F) const |
| const std::string & | getLinkageName (std::string &F) 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 292 of file DebugInfo.h.
| llvm::DIGlobal::DIGlobal | ( | GlobalVariable * | GV, | |
| unsigned | RequiredTag | |||
| ) | [inline, explicit, protected] |
Definition at line 294 of file DebugInfo.h.
| virtual llvm::DIGlobal::~DIGlobal | ( | ) | [inline, virtual] |
Definition at line 310 of file DebugInfo.h.
isSubprogram - Return true if the specified tag is legal for DISubprogram.
Definition at line 299 of file DebugInfo.h.
References llvm::dwarf::DW_TAG_subprogram.
isGlobalVariable - Return true if the specified tag is legal for DIGlobalVariable.
Definition at line 305 of file DebugInfo.h.
References llvm::dwarf::DW_TAG_variable.
Referenced by dump().
| DIDescriptor llvm::DIGlobal::getContext | ( | ) | const [inline] |
Definition at line 312 of file DebugInfo.h.
References llvm::DIDescriptor::getDescriptorField().
Referenced by llvm::DwarfDebug::RecordVariable(), llvm::DIGlobalVariable::Verify(), and llvm::DISubprogram::Verify().
| const std::string& llvm::DIGlobal::getName | ( | std::string & | F | ) | const [inline] |
Definition at line 313 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by llvm::DISubprogram::describes(), and dump().
| const std::string& llvm::DIGlobal::getDisplayName | ( | std::string & | F | ) | const [inline] |
Definition at line 316 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by llvm::getLocationInfo().
| const std::string& llvm::DIGlobal::getLinkageName | ( | std::string & | F | ) | const [inline] |
Definition at line 319 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by llvm::DISubprogram::describes().
| DICompileUnit llvm::DIGlobal::getCompileUnit | ( | ) | const [inline] |
Definition at line 322 of file DebugInfo.h.
Referenced by dump(), llvm::ExtractDebugLocation(), llvm::getLocationInfo(), llvm::DebugInfoFinder::processModule(), llvm::DIGlobalVariable::Verify(), and llvm::DISubprogram::Verify().
| unsigned llvm::DIGlobal::getLineNumber | ( | ) | const [inline] |
Definition at line 323 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by dump(), llvm::ExtractDebugLocation(), and llvm::getLocationInfo().
| DIType llvm::DIGlobal::getType | ( | ) | const [inline] |
Reimplemented in llvm::DISubprogram.
Definition at line 324 of file DebugInfo.h.
Referenced by llvm::getLocationInfo(), llvm::DebugInfoFinder::processModule(), and 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 328 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by dump().
| unsigned llvm::DIGlobal::isDefinition | ( | ) | const [inline] |
Definition at line 329 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by dump().
| void DIGlobal::dump | ( | ) | const |
dump - print global.
dump - Print global.
Reimplemented from llvm::DIDescriptor.
Reimplemented in llvm::DISubprogram, and llvm::DIGlobalVariable.
Definition at line 419 of file DebugInfo.cpp.
References llvm::cerr(), llvm::DIDescriptor::DbgGV, llvm::DICompileUnit::dump(), empty, getCompileUnit(), getLineNumber(), getName(), llvm::DIDescriptor::getTag(), isDefinition(), isGlobalVariable(), isLocalToUnit(), and llvm::dwarf::TagString().