4 RUN: cp %p/../Inputs/dwos_list_from_exec/b.dwo b.dwo
5 RUN: cp %p/../Inputs/dwos_list_from_exec/main main
6 RUN: not llvm-dwp -e binary -o /dev/null 2>&1 | FileCheck -DMSG=%errc_ENOENT %s --check-prefix=CHECK-BIN
7 RUN: not llvm-dwp -e main -o /dev/null 2>&1 | FileCheck -DMSG=%errc_ENOENT %s --check-prefix=CHECK-1ST-DWO
8 RUN: cp %p/../Inputs/dwos_list_from_exec/a.dwo a.dwo
10 RUN: not llvm-dwp -e main -o /dev/null 2>&1 | FileCheck -DMSG=%errc_ENOENT %s --check-prefix=CHECK-2ND-DWO
12 Build commands for the test binaries:
14 clang++ -Xclang -fdebug-compilation-dir -Xclang "./" -g -O0 -gsplit-dwarf a.cpp b.cpp -o main
26 CHECK-BIN: error: 'binary': [[MSG]]
27 CHECK-1ST-DWO: error: './a.dwo': [[MSG]]
28 CHECK-2ND-DWO: error: './b.dwo': [[MSG]]