llvm::MachineIRBuilder::buildFIDbgValue

Build and insert a DBG_VALUE instruction expressing the fact that the associated Variable lives in the stack slot specified by FI (suitably modified by Expr).

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>

MachineInstrBuilder
buildFIDbgValue(
    int FI,
    MDNode const* Variable,
    MDNode const* Expr);

Return Value

a MachineInstrBuilder for the newly created instruction.

Parameters

NameDescription
FIFrame index of the stack slot.
VariableDILocalVariable metadata describing the debug variable.
ExprDIExpression applied to the debug value.