[PATCH] D48408: [Debugify] Diagnose mis-sized dbg.values

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 26 13:57:02 PDT 2018


vsk updated this revision to Diff 152952.
vsk added a comment.

- Bring back the exception for an integer dbg.value operand which is wider than the DILocalVariable it's associated with. We're relying on the debugger being able to simply use the low bits of the integer in this scenario in a few different places, and it appears to work.


https://reviews.llvm.org/D48408

Files:
  test/DebugInfo/debugify-bogus-dbg-value.ll
  tools/opt/Debugify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48408.152952.patch
Type: text/x-patch
Size: 5669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180626/ad2344cf/attachment-0001.bin>


More information about the llvm-commits mailing list