Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / dsymutil / cmdline.test
blob36cf3f542695ca40edbeb59e1efaad87b1f5546c
1 RUN: dsymutil -help 2>&1 | FileCheck --check-prefix=CHECK --check-prefix=HELP %s
2 RUN: cat %S/../../../docs/CommandGuide/dsymutil.rst  | FileCheck %s
4 HELP: OVERVIEW: manipulate archived DWARF debug symbol files.
5 HELP: USAGE: {{.*}}dsymutil{{[^ ]*}} [options] <input files>
6 HELP-NOT: -reverse-iterate
7 HELP: Dsymutil Options:
8 CHECK: -accelerator
9 CHECK: -arch <arch>
10 CHECK: -build-variant-suffix <suffix=buildvariant>
11 CHECK: -dump-debug-map
12 CHECK: -D <path>
13 CHECK: -fat64
14 CHECK: -flat
15 CHECK: -gen-reproducer
16 CHECK: -help
17 CHECK: -keep-function-for-static
18 CHECK: -no-odr
19 CHECK: -no-output
20 CHECK: -no-swiftmodule-timestamp
21 CHECK: -num-threads  <threads>
22 CHECK: -object-prefix-map <prefix=remapped>
23 CHECK: -oso-prepend-path <path>
24 CHECK: -out <filename>
25 CHECK: {{-o <filename>}}
26 CHECK: -remarks-drop-without-debug
27 CHECK: -remarks-output-format <format>
28 CHECK: -remarks-prepend-path <path>
29 CHECK: -reproducer <mode>
30 CHECK: -statistics
31 CHECK: -symbol-map
32 CHECK: -symtab
33 CHECK: {{-S}}
34 CHECK: -toolchain
35 CHECK: -update
36 CHECK: -use-reproducer <path>
37 CHECK: -verbose
38 CHECK: -verify
39 CHECK: {{-y}}
40 HELP-NOT: -reverse-iterate
42 RUN: dsymutil --version 2>&1 | FileCheck --check-prefix=VERSION %s
43 VERSION: {{ version }}
45 RUN: not dsymutil 2>&1 | FileCheck --check-prefix=NOINPUT %s
46 NOINPUT: error: no input files specified
48 RUN: dsymutil -bogus -help 2>&1 | FileCheck --check-prefix=BOGUS %s
49 BOGUS: warning: ignoring unknown option: -bogus