xref: /llvm-project/llvm/test/tools/llvm-dwarfutil/help.test (revision 4539b44148918c332ff966a2a955aca0ab93dde4)
1## This test checks the help message of llvm-dwarfutil.
2
3# RUN: llvm-dwarfutil | FileCheck %s
4# RUN: llvm-dwarfutil -h | FileCheck %s
5# RUN: llvm-dwarfutil --help | FileCheck %s
6
7# CHECK: OVERVIEW: llvm-dwarfutil is a tool to copy and manipulate debug info
8# CHECK: USAGE: {{.*}}llvm-dwarfutil{{.*}} [options] <input file> <output file>
9# CHECK: OPTIONS:
10# CHECK:   --garbage-collection
11# CHECK:   --help
12# CHECK:   -h
13# CHECK:   -j
14# CHECK:   --no-garbage-collection
15# CHECK:   --no-odr-deduplication
16# CHECK:   --no-odr
17# CHECK:   --no-separate-debug-file
18# CHECK:   --num-threads
19# CHECK:   --odr-deduplication
20# CHECK:   --separate-debug-file
21# CHECK:   --tombstone
22# CHECK:   --verbose
23# CHECK:   --verify
24# CHECK:   --version
25# CHECK:   -V
26