This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objdump][NFC] Improve readability.
ClosedPublic

Authored by courbet on Jan 17 2019, 8:27 AM.

Details

Summary

Introduce a struct SectionSymbol instead of
tuple<uint64_t, StringRef, uint8>.

Diff Detail

Event Timeline

courbet created this revision.Jan 17 2019, 8:27 AM
jhenderson accepted this revision.Jan 17 2019, 8:46 AM

LGTM, with two minor comments.

tools/llvm-objdump/llvm-objdump.cpp
273

Remove this blank line.

275

Don't abbreviate these. You can use Address, Name, and Type in the signature.

This revision is now accepted and ready to land.Jan 17 2019, 8:46 AM
courbet updated this revision to Diff 182467.Jan 18 2019, 12:18 AM
courbet marked 2 inline comments as done.

Address comments

This revision was automatically updated to reflect the committed changes.