ΒΆvoid salvageDebugInfo(llvm::Instruction& I)

Description

Assuming the instruction \p I is going to be deleted, attempt to salvage debug users of \p I by writing the effect of \p I in a DIExpression. If it cannot be salvaged changes its debug uses to undef.

Declared at: llvm/include/llvm/Transforms/Utils/Local.h:284

Parameters

llvm::Instruction& I