This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objdump] Print a blank row at the end of sections
ClosedPublic

Authored by Higuoxing on Nov 17 2018, 12:14 AM.

Details

Summary

When using option -x (--all-headers), it will print Sections, Symbol Table, Program Header ...
Sections and Symbol Table will be connected together.

Before:

Sections:
Idx Name          Size      Address          Type
  0               00000000 0000000000000000
  ...
  29 .shstrtab     0000011a 0000000000000000
SYMBOL TABLE:
  ...

After:

Sections:
Idx Name          Size      Address          Type
  0               00000000 0000000000000000
  ...
  29 .shstrtab     0000011a 0000000000000000

SYMBOL TABLE:
  ...

Diff Detail

Event Timeline

Higuoxing created this revision.Nov 17 2018, 12:14 AM
Higuoxing accepted this revision.Nov 17 2018, 12:14 AM
This revision is now accepted and ready to land.Nov 17 2018, 12:14 AM
This revision was automatically updated to reflect the committed changes.

I'm implementing the Version Reference for #30241 and find that some info emitted from option -x are crowded. If this not ok, I will revert this change.