llvm-project/llvm/test/tools/llvm-dwarfdump/cmdline.test

25 lines
707 B
Plaintext

RUN: llvm-dwarfdump -h 2>&1 | FileCheck --check-prefix=HELP %s
RUN: llvm-dwarfdump --help 2>&1 | FileCheck --check-prefix=HELP %s
HELP: USAGE: llvm-dwarfdump{{[^ ]*}} [options] <input object files or .dSYM bundles>
HELP-NOT: -reverse-iterate
HELP: Section-specific Dump Options
HELP: -debug-info - Dump the .debug_info section
HELP: -eh-frame
HELP: Specific Options
HELP: -diff
HELP: -find
HELP: -ignore-case
HELP: -lookup
HELP: -name
HELP: -recurse-depth=<N>
HELP: -regex
HELP: -show-children
HELP: -show-form
HELP: -show-parents
HELP: -statistics
HELP: -summarize-types
HELP-NOT: -reverse-iterate
RUN: llvm-dwarfdump --version 2>&1 | FileCheck --check-prefix=VERSION %s
VERSION: {{ version }}