LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::DbgVariable Class Reference

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)
 
DIEgetDIE () const
 
void setDotDebugLocOffset (unsigned O)
 
unsigned getDotDebugLocOffset () const
 
StringRef getName () const
 
DbgVariablegetAbstractVariable () const
 
const MachineInstrgetMInsn () 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
 

Detailed Description

This class is used to track local variable information.

Definition at line 146 of file DwarfDebug.h.

Constructor & Destructor Documentation

llvm::DbgVariable::DbgVariable ( DIVariable  V,
DbgVariable AV,
DwarfDebug DD 
)
inline

Definition at line 156 of file DwarfDebug.h.

Member Function Documentation

DbgVariable* llvm::DbgVariable::getAbstractVariable ( ) const
inline

Definition at line 167 of file DwarfDebug.h.

Referenced by llvm::CompileUnit::constructVariableDIE().

uint64_t llvm::DbgVariable::getAddrElement ( unsigned  i) const
inline

Definition at line 208 of file DwarfDebug.h.

References llvm::DIVariable::getAddrElement().

Referenced by llvm::CompileUnit::addComplexAddress().

DIE* llvm::DbgVariable::getDIE ( ) const
inline

Definition at line 163 of file DwarfDebug.h.

unsigned llvm::DbgVariable::getDotDebugLocOffset ( ) const
inline

Definition at line 165 of file DwarfDebug.h.

Referenced by llvm::CompileUnit::constructVariableDIE().

int llvm::DbgVariable::getFrameIndex ( ) const
inline

Definition at line 170 of file DwarfDebug.h.

Referenced by llvm::CompileUnit::constructVariableDIE().

const MachineInstr* llvm::DbgVariable::getMInsn ( ) const
inline

Definition at line 168 of file DwarfDebug.h.

Referenced by llvm::CompileUnit::constructVariableDIE().

StringRef llvm::DbgVariable::getName ( ) const
inline
unsigned llvm::DbgVariable::getNumAddrElements ( ) const
inline
uint16_t llvm::DbgVariable::getTag ( ) const
inline

Definition at line 173 of file DwarfDebug.h.

References llvm::DIDescriptor::getTag().

Referenced by llvm::CompileUnit::constructVariableDIE().

DIType llvm::DbgVariable::getType ( ) const
DIVariable llvm::DbgVariable::getVariable ( ) const
inline
bool llvm::DbgVariable::isArtificial ( ) const
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().

bool llvm::DbgVariable::isBlockByrefVariable ( ) const
inline
bool llvm::DbgVariable::isObjectPointer ( ) const
inline
void llvm::DbgVariable::setDIE ( DIE D)
inline

Definition at line 162 of file DwarfDebug.h.

Referenced by llvm::CompileUnit::constructVariableDIE().

void llvm::DbgVariable::setDotDebugLocOffset ( unsigned  O)
inline

Definition at line 164 of file DwarfDebug.h.

void llvm::DbgVariable::setFrameIndex ( int  FI)
inline

Definition at line 171 of file DwarfDebug.h.

void llvm::DbgVariable::setMInsn ( const MachineInstr M)
inline

Definition at line 169 of file DwarfDebug.h.

bool llvm::DbgVariable::variableHasComplexAddress ( ) const
inline

The documentation for this class was generated from the following files: