This is an archive of the discontinued LLVM Phabricator instance.

Enable stripping of multiple DILocation on !llvm.loop metadata
ClosedPublic

Authored by tejohnson on Mar 18 2017, 3:52 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

tejohnson created this revision.Mar 18 2017, 3:52 PM
hfinkel accepted this revision.Mar 18 2017, 6:35 PM
hfinkel added a subscriber: hfinkel.

LGTM

This revision is now accepted and ready to land.Mar 18 2017, 6:35 PM
This revision was automatically updated to reflect the committed changes.