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, DwarfDebug *DD)
 Construct a DbgVariable from a DIVariable.
 DbgVariable (const MachineInstr *DbgValue, DwarfDebug *DD)
DIVariable getVariable () const
void setDIE (DIE &D)
DIEgetDIE () const
void setDotDebugLocOffset (unsigned O)
unsigned getDotDebugLocOffset () const
StringRef getName () const
const MachineInstrgetMInsn () const
int getFrameIndex () const
void setFrameIndex (int FI)
dwarf::Tag 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 71 of file DwarfDebug.h.


Constructor & Destructor Documentation

Construct a DbgVariable from a DIVariable.

Definition at line 81 of file DwarfDebug.h.

llvm::DbgVariable::DbgVariable ( const MachineInstr DbgValue,
DwarfDebug DD 
) [inline]

Construct a DbgVariable from a DEBUG_VALUE. AbstractVar may be NULL.

Definition at line 87 of file DwarfDebug.h.


Member Function Documentation

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

Definition at line 134 of file DwarfDebug.h.

References llvm::DIVariable::getAddrElement().

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

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

Definition at line 94 of file DwarfDebug.h.

Definition at line 96 of file DwarfDebug.h.

Definition at line 99 of file DwarfDebug.h.

Definition at line 98 of file DwarfDebug.h.

Return true if DbgVariable is artificial.

Definition at line 109 of file DwarfDebug.h.

References getType(), llvm::DIType::isArtificial(), and llvm::DIVariable::isArtificial().

Referenced by llvm::DwarfUnit::applyVariableAttributes().

void llvm::DbgVariable::setDIE ( DIE D) [inline]

Definition at line 93 of file DwarfDebug.h.

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

Definition at line 95 of file DwarfDebug.h.

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

Definition at line 100 of file DwarfDebug.h.


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