[OpenACC] Implement 'collapse' for combined constructs.
[llvm-project.git] / llvm / test / tools / dsymutil / cmdline.test
blob1574fe35f52546e0c7fd1b532500294cb4e34e6a
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-object-timestamp
19 CHECK: -no-odr
20 CHECK: -no-output
21 CHECK: -no-swiftmodule-timestamp
22 CHECK: -num-threads  <threads>
23 CHECK: -object-prefix-map <prefix=remapped>
24 CHECK: -oso-prepend-path <path>
25 CHECK: -out <filename>
26 CHECK: {{-o <filename>}}
27 CHECK: -quiet
28 CHECK: -remarks-drop-without-debug
29 CHECK: -remarks-output-format <format>
30 CHECK: -remarks-prepend-path <path>
31 CHECK: -reproducer <mode>
32 CHECK: -statistics
33 CHECK: -symtab
34 CHECK: {{-S}}
35 CHECK: -toolchain
36 CHECK: -update
37 CHECK: -use-reproducer <path>
38 CHECK: -verbose
39 CHECK: -verify
40 CHECK: {{-y}}
41 HELP-NOT: -reverse-iterate
43 RUN: dsymutil --version 2>&1 | FileCheck --check-prefix=VERSION %s
44 VERSION: {{ version }}
46 RUN: not dsymutil 2>&1 | FileCheck --check-prefix=NOINPUT %s
47 NOINPUT: error: no input files specified
49 RUN: dsymutil -bogus -help 2>&1 | FileCheck --check-prefix=BOGUS %s
50 BOGUS: warning: ignoring unknown option: -bogus
52 RUN: not dsymutil --quiet --verbose 2>&1 | FileCheck --check-prefix=CONFLICT %s
53 CONFLICT: error: --quiet and --verbose cannot be specified together