This is an archive of the discontinued LLVM Phabricator instance.

Refactor dwarfdump -apple-names output
ClosedPublic

Authored by labath on Jan 23 2018, 3:48 AM.

Details

Summary

This modifies the dwarfdump output to align it with the new .debug_names
dump. It also renames two header fields to match similar fields in the
dwarf5 header.

A couple of tests needed to be updated to match new output. The changes
were fairly straight-forward, although not really automatable.

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Jan 23 2018, 3:48 AM
JDevlieghere accepted this revision.Jan 23 2018, 4:03 AM

Thanks Pavel, LGTM!

This revision is now accepted and ready to land.Jan 23 2018, 4:03 AM
aprantl added inline comments.Jan 23 2018, 8:10 AM
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
72 ↗(On Diff #131037)

Could you add a Doxygen comment explaining the return value?

labath updated this revision to Diff 131084.Jan 23 2018, 8:33 AM

Add dumpName() comment.

This comment was removed by JDevlieghere.
This revision was automatically updated to reflect the committed changes.