Build and insert a DBG_VALUE instruction expressing the fact that the associated Variable lives in Reg (suitably modified by Expr).
Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>
MachineInstrBuilder
buildDirectDbgValue(
Register Reg,
MDNode const* Variable,
MDNode const* Expr);
a MachineInstrBuilder for the newly created instruction.
| Name | Description |
|---|---|
| Reg | Register holding the debug value or address. |
| Variable | DILocalVariable metadata describing the debug variable. |
| Expr | DIExpression applied to the debug value. |