[PATCH] D68730: [llvm-objdump] Adjust spacing and field width for --section-headers
Jordan Rupprecht via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 14:22:08 PDT 2019
rupprecht created this revision.
rupprecht added reviewers: grimar, jhenderson.
Herald added subscribers: llvm-commits, seiya, aheejin, arichardson, sbc100, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
- Expand the "Name" column past 13 characters when any of the section names are longer. Current behavior is a staggard output instead of a nice table if a single name is longer.
- Only print the required number of hex chars for addresses (i.e. 8 characters for 32-bit, 16 characters for 64-bit)
- Fix trailing spaces
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68730
Files:
lld/test/ELF/got32-i386.s
lld/test/ELF/got32x-i386.s
llvm/test/tools/llvm-objdump/section-headers-address-width.test
llvm/test/tools/llvm-objdump/section-headers-name-width.test
llvm/test/tools/llvm-objdump/section-headers-spacing.test
llvm/test/tools/llvm-objdump/wasm.txt
llvm/test/tools/llvm-objdump/xcoff-section-headers.test
llvm/tools/llvm-objdump/llvm-objdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68730.224163.patch
Type: text/x-patch
Size: 13722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191009/50b8eb42/attachment.bin>
More information about the llvm-commits
mailing list