LLVM API Documentation
This class is used to track local variable information. More...
#include <DwarfDebug.h>
Public Member Functions | |
DbgVariable (DIVariable V, DbgVariable *AV, DwarfDebug *DD) | |
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) |
uint16_t | getTag () const |
bool | isArtificial () const |
Return true if DbgVariable is artificial. More... | |
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 146 of file DwarfDebug.h.
|
inline |
Definition at line 156 of file DwarfDebug.h.
|
inline |
Definition at line 167 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
|
inline |
Definition at line 208 of file DwarfDebug.h.
References llvm::DIVariable::getAddrElement().
Referenced by llvm::CompileUnit::addComplexAddress().
|
inline |
Definition at line 163 of file DwarfDebug.h.
|
inline |
Definition at line 165 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
|
inline |
Definition at line 170 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
|
inline |
Definition at line 168 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
|
inline |
Definition at line 166 of file DwarfDebug.h.
References llvm::DIVariable::getName().
Referenced by llvm::CompileUnit::addBlockByrefAddress(), llvm::CompileUnit::constructVariableDIE(), and getType().
|
inline |
Definition at line 204 of file DwarfDebug.h.
References llvm::DIVariable::getNumAddrElements(), and llvm::DIDescriptor::isVariable().
Referenced by llvm::CompileUnit::addComplexAddress().
|
inline |
Definition at line 173 of file DwarfDebug.h.
References llvm::DIDescriptor::getTag().
Referenced by llvm::CompileUnit::constructVariableDIE().
DIType llvm::DbgVariable::getType | ( | ) | const |
Definition at line 126 of file DwarfDebug.cpp.
References llvm::DIArray::getElement(), getName(), llvm::DIArray::getNumElements(), llvm::DIDescriptor::getTag(), llvm::DIVariable::getType(), llvm::DICompositeType::getTypeArray(), llvm::DIVariable::isBlockByrefVariable(), and N.
Referenced by llvm::CompileUnit::addBlockByrefAddress(), llvm::CompileUnit::constructVariableDIE(), isArtificial(), and isObjectPointer().
|
inline |
Definition at line 161 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::addVariableAddress(), and llvm::CompileUnit::constructVariableDIE().
|
inline |
Return true if DbgVariable is artificial.
Definition at line 180 of file DwarfDebug.h.
References getType(), llvm::DIType::isArtificial(), and llvm::DIVariable::isArtificial().
Referenced by llvm::CompileUnit::constructVariableDIE().
|
inline |
Definition at line 200 of file DwarfDebug.h.
References llvm::DIVariable::isBlockByrefVariable(), and llvm::DIDescriptor::isVariable().
Referenced by llvm::CompileUnit::addVariableAddress().
|
inline |
Definition at line 188 of file DwarfDebug.h.
References getType(), llvm::DIType::isObjectPointer(), and llvm::DIVariable::isObjectPointer().
|
inline |
Definition at line 162 of file DwarfDebug.h.
Referenced by llvm::CompileUnit::constructVariableDIE().
|
inline |
Definition at line 164 of file DwarfDebug.h.
|
inline |
Definition at line 171 of file DwarfDebug.h.
|
inline |
Definition at line 169 of file DwarfDebug.h.
|
inline |
Definition at line 196 of file DwarfDebug.h.
References llvm::DIVariable::hasComplexAddress(), and llvm::DIDescriptor::isVariable().
Referenced by llvm::CompileUnit::addVariableAddress().