LLVM API Documentation
#include <DebugInfo.h>
Public Member Functions | |
| DIVariable (GlobalVariable *GV=0) | |
| DIDescriptor | getContext () const |
| const std::string & | getName (std::string &F) const |
| DICompileUnit | getCompileUnit () const |
| unsigned | getLineNumber () const |
| DIType | getType () const |
| bool | Verify () const |
| Verify - Verify that a variable descriptor is well formed. | |
| void | dump () const |
| dump - print variable. | |
Static Public Member Functions | |
| static bool | isVariable (unsigned Tag) |
| isVariable - Return true if the specified tag is legal for DIVariable. | |
Definition at line 384 of file DebugInfo.h.
| llvm::DIVariable::DIVariable | ( | GlobalVariable * | GV = 0 |
) | [inline, explicit] |
Definition at line 386 of file DebugInfo.h.
References llvm::DIDescriptor::DbgGV, llvm::DIDescriptor::getTag(), GV, and isVariable().
| DIDescriptor llvm::DIVariable::getContext | ( | ) | const [inline] |
Definition at line 392 of file DebugInfo.h.
References llvm::DIDescriptor::getDescriptorField().
Referenced by llvm::DwarfDebug::RecordVariable(), llvm::DwarfDebug::RecordVariableScope(), and Verify().
| const std::string& llvm::DIVariable::getName | ( | std::string & | F | ) | const [inline] |
Definition at line 393 of file DebugInfo.h.
References llvm::DIDescriptor::getStringField().
Referenced by dump(), and llvm::getLocationInfo().
| DICompileUnit llvm::DIVariable::getCompileUnit | ( | ) | const [inline] |
| unsigned llvm::DIVariable::getLineNumber | ( | ) | const [inline] |
Definition at line 397 of file DebugInfo.h.
References llvm::DIDescriptor::getUnsignedField().
Referenced by dump(), and llvm::getLocationInfo().
| DIType llvm::DIVariable::getType | ( | ) | const [inline] |
Definition at line 398 of file DebugInfo.h.
Referenced by dump(), llvm::getLocationInfo(), and Verify().
isVariable - Return true if the specified tag is legal for DIVariable.
Definition at line 192 of file DebugInfo.cpp.
References llvm::dwarf::DW_TAG_arg_variable, llvm::dwarf::DW_TAG_auto_variable, and llvm::dwarf::DW_TAG_return_variable.
Referenced by DIVariable().
| bool DIVariable::Verify | ( | ) | const |
Verify - Verify that a variable descriptor is well formed.
Definition at line 300 of file DebugInfo.cpp.
References getContext(), getType(), llvm::DIDescriptor::isNull(), Ty, and llvm::DIType::Verify().
| void DIVariable::dump | ( | ) | const |
dump - print variable.
dump - Print variable.
Reimplemented from llvm::DIDescriptor.
Definition at line 454 of file DebugInfo.cpp.
References llvm::cerr(), llvm::DIType::dump(), llvm::DICompileUnit::dump(), empty, getCompileUnit(), getLineNumber(), getName(), and getType().