]> granicus.if.org Git - llvm/commit
[llvm-readobj] Accept (and ignore) --wide (-W) command-line switch
authorPetr Hosek <phosek@chromium.org>
Tue, 18 Jul 2017 23:58:15 +0000 (23:58 +0000)
committerPetr Hosek <phosek@chromium.org>
Tue, 18 Jul 2017 23:58:15 +0000 (23:58 +0000)
commit35375a35c17d7c45f3067362f87388533ee5c558
tree09b857741bd3c9910cc38b5bbb08d15809e8a507
parentefdf7c088190c6098dd8e2b549862ca5bd82371d
[llvm-readobj] Accept (and ignore) --wide (-W) command-line switch

Accept and ignore --wide/-W. In GNU readelf this switch is
necessary to get the output format that's consistent between
32-bit and 64-bit targets. llvm-readobj always produces that
output format.

Patch by Roland McGrath

Differential Revision: https://reviews.llvm.org/D33873

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308396 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/gnu-sections.test
tools/llvm-readobj/llvm-readobj.cpp