blob: 11f6b15d450854019fd633907472d79fb646815f [file] [log] [blame]
RUN: llvm-dwarfdump -h 2>&1 | FileCheck --check-prefix=HELP %s --implicit-check-not=out-file
RUN: llvm-dwarfdump --help 2>&1 | FileCheck --check-prefix=HELP %s --implicit-check-not=out-file
HELP: USAGE: llvm-dwarfdump{{[^ ]*}} [options] <input object files or .dSYM bundles>
HELP: Color Options
HELP: --color
HELP: Generic Options
HELP: --help
HELP: --help-list
HELP: --version
HELP: Section-specific Dump Options
HELP: --debug-info[=<offset>] - Dump the .debug_info section
HELP: --debug-names - Dump the .debug_names section
HELP: --eh-frame - Alias for -debug-frame
HELP: Specific Options
HELP: --diff
HELP: --find
HELP: --ignore-case
HELP: --lookup
HELP: --name
HELP: -o=<filename>
HELP: --parent-recurse-depth=<N>
HELP: --recurse-depth=<N>
HELP: --regex
HELP: --show-children
HELP: --show-form
HELP: --show-parents
HELP: --statistics
HELP: --summarize-types
HELP: @FILE
RUN: llvm-dwarfdump --version 2>&1 | FileCheck --check-prefix=VERSION %s
VERSION: {{ version }}
RUN: not llvm-dwarfdump -diff -verbose 2>&1 | FileCheck --check-prefix=INCOMPATIBLE %s
INCOMPATIBLE: error: incompatible arguments: specifying both -diff and -verbose is currently not supported
RUN: not llvm-dwarfdump --debug-names=0x0 2>&1 | FileCheck --check-prefix=FLAG %s
FLAG: for the --debug-names option: this is a flag and does not take a value