zig/deps/lld/test/COFF/pdb-exe-path-dots.test
2018-08-04 17:47:16 -04:00

10 lines
371 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