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