OSDN Git Service

[binutils] Add response file option to help and docs
authorJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 21 Jun 2019 11:49:20 +0000 (11:49 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 21 Jun 2019 11:49:20 +0000 (11:49 +0000)
commitb7bdff997fcdadad4034ee22633bc38b1f6f2761
treef5c4d26dc2f0a2df6baa3569487063bac408b7fa
parent7b04de6571ac48320f73a8057be40139a5de411c
[binutils] Add response file option to help and docs

Many LLVM-based tools already support response files (i.e. files
containing a list of options, specified with '@'). This change simply
updates the documentation and help text for some of these tools to
include it. I haven't attempted to fix all tools, just a selection that
I am interested in.

I've taken the opportunity to add some tests for --help behaviour, where
they were missing. We could expand these tests, but I don't think that's
within scope of this patch.

This fixes https://bugs.llvm.org/show_bug.cgi?id=42233 and
https://bugs.llvm.org/show_bug.cgi?id=42236.

Reviewed by: grimar, MaskRay, jkorous

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364036 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
docs/CommandGuide/llvm-nm.rst
docs/CommandGuide/llvm-objdump.rst
docs/CommandGuide/llvm-readobj.rst
docs/CommandGuide/llvm-symbolizer.rst
test/tools/llvm-cxxfilt/help.test [new file with mode: 0644]
test/tools/llvm-dwarfdump/cmdline.test
test/tools/llvm-objdump/help.test [new file with mode: 0644]
test/tools/llvm-readobj/basic.test
test/tools/llvm-size/help.test [new file with mode: 0644]
test/tools/llvm-strings/help.test [new file with mode: 0644]
test/tools/llvm-symbolizer/help.test
tools/llvm-cxxfilt/llvm-cxxfilt.cpp
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-readobj/llvm-readobj.cpp
tools/llvm-size/llvm-size.cpp
tools/llvm-strings/llvm-strings.cpp
tools/llvm-symbolizer/llvm-symbolizer.cpp