| RUN: rm -rf %t | |
| RUN: mkdir %t | |
| RUN: cd %t | |
| RUN: cp %p/../Inputs/search_dwos/a.dwo a.dwo | |
| RUN: cp %p/../Inputs/search_dwos/b.dwo b.dwo | |
| RUN: cp %p/../Inputs/search_dwos/main main | |
| RUN: llvm-dwp -e main -o %t.dwp | |
| Search the DWO from relative path if absolute path is not valid. | |
| Build commands for the test binaries: | |
| clang++ -Xclang -fdebug-compilation-dir -Xclang "path-not-exists" -g -O0 -gsplit-dwarf a.cpp b.cpp -o main | |
| sources: | |
| a.cpp: | |
| void a() {} | |
| b.cpp: | |
| void b() {} | |
| int main() { | |
| return 0; | |
| } |