26 lines · plain
1## This test checks output of llvm-dwarfutil when verbose mode2## is enabled.3 4# RUN: yaml2obj %p/Inputs/common.yaml -o %t.o5 6## Check verbose output.7# RUN: llvm-dwarfutil %t.o %t1 --verbose 2>&1 | FileCheck %s8 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-WARNING11 12## Check -j alias.13# RUN: llvm-dwarfutil %t.o %t1 --verbose -j 10 2>&1 | FileCheck %s --check-prefix=CHECK-THREAD-WARNING14 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-VERIFY17 18# CHECK-NOT: warning: --num-threads set to 1 because verbose mode is specified19# CHECK: Do debug info linking...20# CHECK: Input compilation unit:21# CHECK: DW_TAG_compile_unit22# CHECK: Keeping subprogram DIE23# CHECK: DW_TAG_subprogram24# CHECK-THREAD-WARNING: warning: --num-threads set to 1 because verbose mode is specified25# CHECK-VERIFY: Verifying DWARF...26