summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-dwarfdump/cmdline.test
blob: 5930e71885070499765d166c1d3eb5eb2b90abcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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            - Dump the .debug_info section
HELP: -eh-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: llvm-dwarfdump -diff -verbose 2>&1 | FileCheck --check-prefix=INCOMPATIBLE %s
INCOMPATIBLE: error: incompatible arguments: specifying both -diff and -verbose is currently not supported
OpenPOWER on IntegriCloud