llvm-project/llvm/lib/CodeGen/LiveDebugValues
Jeremy Morse ce8254d096 [DebugInfo][InstrRef] Correctly ignore DBG_VALUE_LIST in InstrRef mode
This patch makes InstrRefBasedLDV "safe" to work with DBG_VALUE_LISTs. It
doesn't actually interpret them, but it recognises that they specify
variable locations and avoids propagating false locations, which is better
than the current state. Observe the attached tes

 * We avoid propagating DBG_VALUE_LISTs into successor blocks, as they're
   not "currently" supported,
 * We don't propagate other variable locations across DBG_VALUE_LISTs,
   because we know that the variable location is terminated by the
   DBG_VALUE_LIST.

Differential Revision: https://reviews.llvm.org/D108143
2021-08-20 14:51:02 +01:00
..
InstrRefBasedImpl.cpp [DebugInfo][InstrRef] Correctly ignore DBG_VALUE_LIST in InstrRef mode 2021-08-20 14:51:02 +01:00
LiveDebugValues.cpp [DebugInfo][InstrRef] Honour too-much-debug-info cutouts 2021-08-17 11:34:49 +01:00
LiveDebugValues.h [DebugInfo][InstrRef] Honour too-much-debug-info cutouts 2021-08-17 11:34:49 +01:00
VarLocBasedImpl.cpp [DebugInfo][InstrRef] Honour too-much-debug-info cutouts 2021-08-17 11:34:49 +01:00