ΒΆbool 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. Returns true if any debug users were updated.

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

Parameters

llvm::Instruction& I