blob: bf45bba60481e33e9b95ca207f3db765f1aebcb8 [file] [log] [blame]
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;
}