Files
clang-p2996/llvm/test/tools/dsymutil/cmdline.test
Jonas Devlieghere 32a6e9d669 [dsymutil] Remove support for obfuscated bitcode (#85713)
Remove support for obfuscated bitcode in dsymutil and the DWARF linker.
We no longer support bitcode submissions and the obfuscation support has
been removed from the rest of the compiler.

rdar://123863918
2024-03-19 12:30:50 -07:00

49 lines
1.4 KiB
Plaintext

RUN: dsymutil -help 2>&1 | FileCheck --check-prefix=CHECK --check-prefix=HELP %s
RUN: cat %S/../../../docs/CommandGuide/dsymutil.rst | FileCheck %s
HELP: OVERVIEW: manipulate archived DWARF debug symbol files.
HELP: USAGE: {{.*}}dsymutil{{[^ ]*}} [options] <input files>
HELP-NOT: -reverse-iterate
HELP: Dsymutil Options:
CHECK: -accelerator
CHECK: -arch <arch>
CHECK: -build-variant-suffix <suffix=buildvariant>
CHECK: -dump-debug-map
CHECK: -D <path>
CHECK: -fat64
CHECK: -flat
CHECK: -gen-reproducer
CHECK: -help
CHECK: -keep-function-for-static
CHECK: -no-odr
CHECK: -no-output
CHECK: -no-swiftmodule-timestamp
CHECK: -num-threads <threads>
CHECK: -object-prefix-map <prefix=remapped>
CHECK: -oso-prepend-path <path>
CHECK: -out <filename>
CHECK: {{-o <filename>}}
CHECK: -remarks-drop-without-debug
CHECK: -remarks-output-format <format>
CHECK: -remarks-prepend-path <path>
CHECK: -reproducer <mode>
CHECK: -statistics
CHECK: -symtab
CHECK: {{-S}}
CHECK: -toolchain
CHECK: -update
CHECK: -use-reproducer <path>
CHECK: -verbose
CHECK: -verify
CHECK: {{-y}}
HELP-NOT: -reverse-iterate
RUN: dsymutil --version 2>&1 | FileCheck --check-prefix=VERSION %s
VERSION: {{ version }}
RUN: not dsymutil 2>&1 | FileCheck --check-prefix=NOINPUT %s
NOINPUT: error: no input files specified
RUN: dsymutil -bogus -help 2>&1 | FileCheck --check-prefix=BOGUS %s
BOGUS: warning: ignoring unknown option: -bogus