[PATCH] D31117: Enable stripping of multiple DILocation on !llvm.loop metadata

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 18 15:52:45 PDT 2017


tejohnson created this revision.

I found that stripDebugInfo was still leaving significant amounts of
debug info due to !llvm.loop that contained DILocation after stripping.
The support for stripping debug info on !llvm.loop added in r293377 only
removes a single DILocation. Enhance that to remove all DILocation from
!llvm.loop.


https://reviews.llvm.org/D31117

Files:
  lib/IR/DebugInfo.cpp
  test/DebugInfo/strip-loop-metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31117.92256.patch
Type: text/x-patch
Size: 4109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170318/e428f92a/attachment.bin>


More information about the llvm-commits mailing list