[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / dsymutil / cmdline.test
blobdc716cf25b21fc2fcb16ff14aa2371fb9b77010c
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: -dump-debug-map
11 CHECK: -fat64
12 CHECK: -flat
13 CHECK: -gen-reproducer
14 CHECK: -help
15 CHECK: -keep-function-for-static
16 CHECK: -no-odr
17 CHECK: -no-output
18 CHECK: -no-swiftmodule-timestamp
19 CHECK: -num-threads  <threads>
20 CHECK: -object-prefix-map <prefix=remapped>
21 CHECK: -oso-prepend-path <path>
22 CHECK: -out <filename>
23 CHECK: {{-o <filename>}}
24 CHECK: -papertrail
25 CHECK: -remarks-drop-without-debug
26 CHECK: -remarks-output-format <format>
27 CHECK: -remarks-prepend-path <path>
28 CHECK: -reproducer <mode>
29 CHECK: -statistics
30 CHECK: -symbol-map
31 CHECK: -symtab
32 CHECK: {{-S}}
33 CHECK: -toolchain
34 CHECK: -update
35 CHECK: -use-reproducer <path>
36 CHECK: -verbose
37 CHECK: -verify
38 CHECK: {{-y}}
39 HELP-NOT: -reverse-iterate
41 RUN: dsymutil --version 2>&1 | FileCheck --check-prefix=VERSION %s
42 VERSION: {{ version }}
44 RUN: not dsymutil 2>&1 | FileCheck --check-prefix=NOINPUT %s
45 NOINPUT: error: no input files specified
47 RUN: dsymutil -bogus -help 2>&1 | FileCheck --check-prefix=BOGUS %s
48 BOGUS: warning: ignoring unknown option: -bogus