LLVM API Documentation
This class is used to track local variable information. More...
#include <DwarfDebug.h>
Public Member Functions | |
| DbgVariable (DIVariable V, DbgVariable *AV) | |
| DIVariable | getVariable () const |
| void | setDIE (DIE *D) |
| DIE * | getDIE () const |
| void | setDotDebugLocOffset (unsigned O) |
| unsigned | getDotDebugLocOffset () const |
| StringRef | getName () const |
| DbgVariable * | getAbstractVariable () const |
| const MachineInstr * | getMInsn () const |
| void | setMInsn (const MachineInstr *M) |
| int | getFrameIndex () const |
| void | setFrameIndex (int FI) |
| unsigned | getTag () const |
| bool | isArtificial () const |
| Return true if DbgVariable is artificial. | |
| bool | isObjectPointer () const |
| bool | variableHasComplexAddress () const |
| bool | isBlockByrefVariable () const |
| unsigned | getNumAddrElements () const |
| uint64_t | getAddrElement (unsigned i) const |
| DIType | getType () const |
This class is used to track local variable information.
Definition at line 125 of file DwarfDebug.h.
| llvm::DbgVariable::DbgVariable | ( | DIVariable | V, |
| DbgVariable * | AV | ||
| ) | [inline] |
Definition at line 134 of file DwarfDebug.h.
| DbgVariable* llvm::DbgVariable::getAbstractVariable | ( | ) | const [inline] |
Definition at line 145 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
| uint64_t llvm::DbgVariable::getAddrElement | ( | unsigned | i | ) | const [inline] |
Definition at line 186 of file DwarfDebug.h.
References llvm::DIVariable::getAddrElement().
Referenced by llvm::CompileUnit::addComplexAddress().
| DIE* llvm::DbgVariable::getDIE | ( | ) | const [inline] |
Definition at line 141 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
| unsigned llvm::DbgVariable::getDotDebugLocOffset | ( | ) | const [inline] |
Definition at line 143 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
| int llvm::DbgVariable::getFrameIndex | ( | ) | const [inline] |
Definition at line 148 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
| const MachineInstr* llvm::DbgVariable::getMInsn | ( | ) | const [inline] |
Definition at line 146 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
| StringRef llvm::DbgVariable::getName | ( | ) | const [inline] |
Definition at line 144 of file DwarfDebug.h.
References llvm::DIVariable::getName().
Referenced by llvm::CompileUnit::addBlockByrefAddress(), and llvm::CompileUnit::constructVariableDIE().
| unsigned llvm::DbgVariable::getNumAddrElements | ( | ) | const [inline] |
Definition at line 182 of file DwarfDebug.h.
References llvm::DIVariable::getNumAddrElements(), and llvm::DIVariable::Verify().
Referenced by llvm::CompileUnit::addComplexAddress().
| unsigned llvm::DbgVariable::getTag | ( | ) | const [inline] |
Definition at line 151 of file DwarfDebug.h.
References llvm::dwarf::DW_TAG_arg_variable, llvm::dwarf::DW_TAG_formal_parameter, llvm::dwarf::DW_TAG_variable, and llvm::DIDescriptor::getTag().
Referenced by llvm::CompileUnit::constructVariableDIE().
| DIType llvm::DbgVariable::getType | ( | ) | const |
Definition at line 113 of file DwarfDebug.cpp.
References llvm::dwarf::DW_TAG_pointer_type, llvm::DIArray::getElement(), llvm::Intrinsic::getName(), llvm::DIType::getName(), llvm::DIArray::getNumElements(), llvm::DIDescriptor::getTag(), llvm::DICompositeType::getTypeArray(), llvm::DIDerivedType::getTypeDerivedFrom(), and N.
Referenced by llvm::CompileUnit::addBlockByrefAddress(), llvm::CompileUnit::constructVariableDIE(), isArtificial(), and isObjectPointer().
| DIVariable llvm::DbgVariable::getVariable | ( | ) | const [inline] |
Definition at line 139 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
| bool llvm::DbgVariable::isArtificial | ( | ) | const [inline] |
Return true if DbgVariable is artificial.
Definition at line 158 of file DwarfDebug.h.
References getType(), llvm::DIType::isArtificial(), and llvm::DIVariable::isArtificial().
Referenced by llvm::CompileUnit::constructVariableDIE().
| bool llvm::DbgVariable::isBlockByrefVariable | ( | ) | const [inline] |
Definition at line 178 of file DwarfDebug.h.
References llvm::DIVariable::isBlockByrefVariable(), and llvm::DIVariable::Verify().
Referenced by llvm::CompileUnit::addVariableAddress().
| bool llvm::DbgVariable::isObjectPointer | ( | ) | const [inline] |
Definition at line 166 of file DwarfDebug.h.
References getType(), llvm::DIType::isObjectPointer(), and llvm::DIVariable::isObjectPointer().
| void llvm::DbgVariable::setDIE | ( | DIE * | D | ) | [inline] |
Definition at line 140 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
| void llvm::DbgVariable::setDotDebugLocOffset | ( | unsigned | O | ) | [inline] |
Definition at line 142 of file DwarfDebug.h.
| void llvm::DbgVariable::setFrameIndex | ( | int | FI | ) | [inline] |
Definition at line 149 of file DwarfDebug.h.
| void llvm::DbgVariable::setMInsn | ( | const MachineInstr * | M | ) | [inline] |
Definition at line 147 of file DwarfDebug.h.
| bool llvm::DbgVariable::variableHasComplexAddress | ( | ) | const [inline] |
Definition at line 174 of file DwarfDebug.h.
References llvm::DIVariable::hasComplexAddress(), and llvm::DIVariable::Verify().
Referenced by llvm::CompileUnit::addVariableAddress().