This is an archive of the discontinued LLVM Phabricator instance.

[llvm-dwarfdump] Brief mode only dumps debug_info by default
ClosedPublic

Authored by JDevlieghere on Aug 31 2017, 7:31 AM.

Details

Summary

This patch changes the default behavior in brief mode to only show the
debug_info section. This is undoubtedly the most popular and likely the
one you'd want in brief mode.

Non-brief mode behavior is not affected and still defaults to all.

Diff Detail

Repository
rL LLVM

Event Timeline

JDevlieghere created this revision.Aug 31 2017, 7:31 AM

@dblaikie: I've added the positive tests you mentioned in D36835 as I was changing the file anyway. I also like the idea of omitting the prefixes in brief mode, but that's definitely something for a separate differential.

aprantl accepted this revision.Aug 31 2017, 9:03 AM
This revision is now accepted and ready to land.Aug 31 2017, 9:03 AM

Improved test as suggested by @dblaikie

This revision was automatically updated to reflect the committed changes.