1 ## This test checks output of llvm-dwarfutil when verbose mode
4 # RUN: yaml2obj %p/Inputs/common.yaml -o %t.o
6 ## Check verbose output.
7 # RUN: llvm-dwarfutil %t.o %t1 --verbose 2>&1 | FileCheck %s
9 ## Check warning displayed in multi-thread mode (--num-threads set explicitly).
10 # RUN: llvm-dwarfutil %t.o %t1 --verbose --num-threads 10 2>&1 | FileCheck %s --check-prefix=CHECK-THREAD-WARNING
13 # RUN: llvm-dwarfutil %t.o %t1 --verbose -j 10 2>&1 | FileCheck %s --check-prefix=CHECK-THREAD-WARNING
15 ## Check verbose output for --verify.
16 # RUN: llvm-dwarfutil %t.o %t1 -j 1 --verbose --verify 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-VERIFY
18 # CHECK-NOT: warning: --num-threads set to 1 because verbose mode is specified
19 # CHECK: Do debug info linking...
20 # CHECK: Input compilation unit:
21 # CHECK: DW_TAG_compile_unit
22 # CHECK: Keeping subprogram DIE
23 # CHECK: DW_TAG_subprogram
24 # CHECK-THREAD-WARNING: warning: --num-threads set to 1 because verbose mode is specified
25 # CHECK-VERIFY: Verifying DWARF...