[PATCH] D57962: [DebugInfo] PR40628: Don't salvage load operations
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 8 16:44:21 PST 2019
aprantl added a comment.
> This patch disallows load insts from being salvaged. The reason why is PR40628 [0] -- LLVM is unable to determine where the validity of a debug expression containing DW_OP_deref ceases (i.e., where a store overwrites the intended data).
Would it be feasible to inject a dbg_value(undef) at the end of the basic block or before the next store, whichever is earlier, instead?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57962/new/
https://reviews.llvm.org/D57962
More information about the llvm-commits
mailing list