23 lines · plain
1RUN: rm -rf %t2RUN: mkdir %t3RUN: cd %t4RUN: cp %p/../Inputs/search_dwos/a.dwo a.dwo5RUN: cp %p/../Inputs/search_dwos/b.dwo b.dwo6RUN: cp %p/../Inputs/search_dwos/main main7RUN: llvm-dwp -e main -o %t.dwp 8 9Search the DWO from relative path if absolute path is not valid.10Build commands for the test binaries:11 12clang++ -Xclang -fdebug-compilation-dir -Xclang "path-not-exists" -g -O0 -gsplit-dwarf a.cpp b.cpp -o main13 14sources:15a.cpp:16 void a() {}17 18b.cpp:19 void b() {}20 int main() {21 return 0;22 }23