LLVM API Documentation

Public Member Functions
llvm::DbgVariable Class Reference

This class is used to track local variable information. More...

#include <DwarfDebug.h>

List of all members.

Public Member Functions

 DbgVariable (DIVariable V, DbgVariable *AV)
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)
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

Detailed Description

This class is used to track local variable information.

Definition at line 125 of file DwarfDebug.h.


Constructor & Destructor Documentation

llvm::DbgVariable::DbgVariable ( DIVariable  V,
DbgVariable AV 
) [inline]

Definition at line 134 of file DwarfDebug.h.


Member Function Documentation

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]
unsigned llvm::DbgVariable::getNumAddrElements ( ) const [inline]
unsigned llvm::DbgVariable::getTag ( ) const [inline]
DIType llvm::DbgVariable::getType ( ) const
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]
bool llvm::DbgVariable::isObjectPointer ( ) const [inline]
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]

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