ΒΆllvm::DIExpression* salvageDebugInfoImpl(
    llvm::Instruction& I,
    llvm::DIExpression* DIExpr,
    bool StackVal)

Description

Given an instruction \p I and DIExpression \p DIExpr operating on it, write the effects of \p I into the returned DIExpression, or return nullptr if it cannot be salvaged. \p StackVal: whether DW_OP_stack_value should be appended to the expression.

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

Parameters

llvm::Instruction& I
llvm::DIExpression* DIExpr
bool StackVal