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:
10 CHECK: -dump-debug-map
12 CHECK: -gen-reproducer
14 CHECK: -keep-function-for-static
17 CHECK: -no-swiftmodule-timestamp
18 CHECK: -num-threads <threads>
19 CHECK: -object-prefix-map <prefix=remapped>
20 CHECK: -oso-prepend-path <path>
21 CHECK: -out <filename>
22 CHECK: {{-o <filename>}}
24 CHECK: -remarks-output-format <format>
25 CHECK: -remarks-prepend-path <path>
32 CHECK: -use-reproducer <path>
36 HELP-NOT: -reverse-iterate
38 RUN: dsymutil --version 2>&1 | FileCheck --check-prefix=VERSION %s
39 VERSION: {{ version }}
41 RUN: not dsymutil 2>&1 | FileCheck --check-prefix=NOINPUT %s
42 NOINPUT: error: no input files specified
44 RUN: dsymutil -bogus -help 2>&1 | FileCheck --check-prefix=BOGUS %s
45 BOGUS: warning: ignoring unknown option: -bogus