[PATCH] D17211: Consider regmasks when computing register-based DBG_VALUE live ranges

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 12:25:43 PST 2016


rnk created this revision.
rnk added reviewers: dexonsmith, aprantl.
rnk added a subscriber: llvm-commits.
Herald added a subscriber: dsanders.

Now register parameters that aren't saved to the stack or CSRs are
considered dead after the first call. Previously the debugger would show
whatever was in the register.

Fixes PR26589

http://reviews.llvm.org/D17211

Files:
  lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
  lib/CodeGen/LiveDebugValues.cpp
  test/DebugInfo/MIR/X86/live-debug-values.mir
  test/DebugInfo/Mips/dsr-fixed-objects.ll
  test/DebugInfo/X86/array.ll
  test/DebugInfo/X86/bbjoin.ll
  test/DebugInfo/X86/dbg-value-regmask-clobber.ll
  test/DebugInfo/X86/debug-loc-asan.ll
  test/DebugInfo/X86/live-debug-values.ll
  test/DebugInfo/X86/pr19307.ll
  test/DebugInfo/X86/subregisters.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17211.47833.patch
Type: text/x-patch
Size: 19739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160212/44fb7790/attachment.bin>


More information about the llvm-commits mailing list