Update a DBG_VALUE whose value has been spilled to FrameIndex. Useful when modifying an instruction in place while iterating over a basic block.

Synopsis

Declared in <llvm/CodeGen/MachineInstrBuilder.h>

void
updateDbgValueForSpill(
    MachineInstr& Orig,
    int FrameIndex,
    Register Reg);

Parameters

Name

Description

Orig

DBG_VALUE to rewrite in place.

FrameIndex

Frame index where the spilled value now lives.

Reg

Register whose debug operands should become the frame index.

Created with MrDocs