llvm-project/lld/test/COFF/pdb-exe-path-dots.test

10 lines
372 B
Plaintext

RUN: yaml2obj < %p/Inputs/pdb1.yaml > %t1.obj
RUN: yaml2obj < %p/Inputs/pdb2.yaml > %t2.obj
RUN: rm -rf %t
RUN: mkdir %t
RUN: mkdir %t/foo
RUN: lld-link /debug /pdb:%t/foo/./out.pdb /out:%t/out.exe /entry:main /nodefaultlib \
RUN: %t1.obj %t2.obj
RUN: llvm-readobj --coff-debug-directory %t/out.exe | FileCheck %s
CHECK: PDBFileName: {{.*}}tmp{{/|\\}}foo{{/|\\}}out.pdb