llvm-project
10 строк · 370.0 Байт
1RUN: yaml2obj %p/Inputs/pdb1.yaml -o %t1.obj
2RUN: yaml2obj %p/Inputs/pdb2.yaml -o %t2.obj
3RUN: rm -rf %t
4RUN: mkdir %t
5RUN: mkdir %t/foo
6RUN: lld-link /debug /pdb:%t/foo/./out.pdb /out:%t/out.exe /entry:main /nodefaultlib \
7RUN: %t1.obj %t2.obj
8RUN: llvm-readobj --coff-debug-directory %t/out.exe | FileCheck %s
9
10CHECK: PDBFileName: {{.*}}tmp{{/|\\}}foo{{/|\\}}out.pdb