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