[PATCH] D48277: [DebugInfo] Keep DBG_VALUE undef in LiveDebugVariables

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 05:42:24 PDT 2018


uabelho updated this revision to Diff 151898.
uabelho added a comment.

Added some comments about why undef values are not added to "locations".

Also added an isUndef() check in UserValue::rewriteLocations so we don't try to update the locNo
of undef locNo (which should always be the same, ~0).


https://reviews.llvm.org/D48277

Files:
  lib/CodeGen/LiveDebugVariables.cpp
  test/DebugInfo/X86/live-debug-vars-discard-invalid.mir
  test/DebugInfo/X86/live-debug-vars-keep-undef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48277.151898.patch
Type: text/x-patch
Size: 6366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180619/b00a96b7/attachment.bin>


More information about the llvm-commits mailing list