diff options
author | Fangrui Song <maskray@google.com> | 2019-04-15 13:32:41 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-04-15 13:32:41 +0000 |
commit | b688a200e4c47bd2915f3fd3f5afcb4928f9a0fb (patch) | |
tree | bd9d2245111db8145990736d627f65894772b790 /llvm/lib/Support/CommandLine.cpp | |
parent | 5e13cd2e61cb187f28d743c15141333530cc1adf (diff) | |
download | bcm5719-llvm-b688a200e4c47bd2915f3fd3f5afcb4928f9a0fb.tar.gz bcm5719-llvm-b688a200e4c47bd2915f3fd3f5afcb4928f9a0fb.zip |
[llvm-objdump] Align instructions to a tab stop in disassembly output
Summary:
In GNU objdump, -w/--wide aligns instructions in the disassembly output.
This patch does the same to llvm-objdump. However, we always use the
wide format (-w/--wide is ignored), because the narrow format
(instructions are misaligned) is probably not very useful.
In llvm-readobj, we made a similar decision: always use the wide format,
accept but ignore -W/--wide.
To save some columns, we change the tab before hex bytes (controlled by
--[no-]show-raw-insn) to a space.
Reviewers: rupprecht, jhenderson, grimar
Reviewed By: jhenderson
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60376
llvm-svn: 358405
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions