mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
33503da181
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 llvm-svn: 364036
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
RUN: llvm-dwarfdump -h 2>&1 | FileCheck --check-prefix=HELP %s --implicit-check-not=out-file
|
|
RUN: llvm-dwarfdump --help 2>&1 | FileCheck --check-prefix=HELP %s --implicit-check-not=out-file
|
|
HELP: USAGE: llvm-dwarfdump{{[^ ]*}} [options] <input object files or .dSYM bundles>
|
|
HELP: Color Options
|
|
HELP: -color
|
|
HELP: Generic Options
|
|
HELP: -help
|
|
HELP: -help-list
|
|
HELP: -version
|
|
HELP: Section-specific Dump Options
|
|
HELP: -debug-info - Dump the .debug_info section
|
|
HELP: -eh-frame
|
|
HELP: Specific Options
|
|
HELP: -diff
|
|
HELP: -find
|
|
HELP: -ignore-case
|
|
HELP: -lookup
|
|
HELP: -name
|
|
HELP: -o=<filename>
|
|
HELP: -parent-recurse-depth=<N>
|
|
HELP: -recurse-depth=<N>
|
|
HELP: -regex
|
|
HELP: -show-children
|
|
HELP: -show-form
|
|
HELP: -show-parents
|
|
HELP: -statistics
|
|
HELP: -summarize-types
|
|
HELP: @FILE
|
|
|
|
RUN: llvm-dwarfdump --version 2>&1 | FileCheck --check-prefix=VERSION %s
|
|
VERSION: {{ version }}
|
|
|
|
RUN: llvm-dwarfdump -diff -verbose 2>&1 | FileCheck --check-prefix=INCOMPATIBLE %s
|
|
INCOMPATIBLE: error: incompatible arguments: specifying both -diff and -verbose is currently not supported
|