[all-commits] [llvm/llvm-project] 102d2a: [DebugInfo][InstrRef] Track variable assignments i...
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Thu Nov 25 06:52:28 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 102d2a8a99057b2f54ca97661f862e33d055171a
https://github.com/llvm/llvm-project/commit/102d2a8a99057b2f54ca97661f862e33d055171a
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/test/DebugInfo/X86/stack-value-dwarf2.ll
Log Message:
-----------
[DebugInfo][InstrRef] Track variable assignments in out-of-scope blocks
DBG_INSTR_REF's and DBG_VALUE's can end up in blocks that aren't in the
lexical scope of their variable. It's arguable as to what we should do
about this, however VarLocBasedLDV permits such variable locations to be
propagated, so let's allow it in InstrRefBasedLDV.
It's necessary for the modified test to work.
Differential Revision: https://reviews.llvm.org/D114578
More information about the All-commits
mailing list