Fixed location of a variable that does not change during execution.

Synopsis

Declared in <llvm/CodeGen/MachineFunction.h>

class VariableDbgInfo;

Description

The Address may be: * A stack index, which can be negative for fixed stack objects. * A MCRegister, whose entry value contains the address of the variable.

Member Functions

Name

Description

VariableDbgInfo [constructor]

Constructors

getEntryValueRegister

Returns the MCRegister of this variable, assuming inEntryValueRegister() is true.

getStackSlot

Returns the stack slot of this variable, assuming inStackSlot() is true.

inEntryValueRegister

Return true if this variable is in the entry value of a register.

inStackSlot

Return true if this variable is in a stack slot.

updateStackSlot

Updates the stack slot of this variable, assuming inStackSlot() is true.

Data Members

Name

Description

Expr

DIExpression applied to the variable location.

Loc

Source location associated with this debug info.

Var

Debug variable being described.

Created with MrDocs