1REQUIRES: x86, gnutar 2 3RUN: rm -rf %t && mkdir -p %t && cd %t 4RUN: yaml2obj %S/Inputs/pdb-type-server-simple-a.yaml -o a.obj 5RUN: yaml2obj %S/Inputs/pdb-type-server-simple-b.yaml -o b.obj 6RUN: llvm-pdbutil yaml2pdb %S/Inputs/pdb-type-server-simple-ts.yaml -pdb ts.pdb 7RUN: lld-link a.obj b.obj -entry:main -debug -out:%t.exe -pdb:%t.pdb -nodefaultlib -linkrepro:. 8RUN: tar xOf repro.tar repro/%:t/ts.pdb > repro-ts.pdb 9RUN: diff ts.pdb repro-ts.pdb 10 11RUN: tar xf repro.tar 12RUN: cat repro/response.txt | FileCheck -check-prefix=PDB %s 13 14PDB: -out:linkrepro-pdb.test.tmp.exe 15PDB-NEXT: -pdb:linkrepro-pdb.test.tmp.pdb 16 17RUN: yaml2obj %p/Inputs/export.yaml -o %t1.obj 18RUN: lld-link /out:%t1.dll /dll %t1.obj /implib:%t1.lib /export:exportfn1 /export:exportfn2 /linkrepro:. 19RUN: tar xf repro.tar 20RUN: cat repro/response.txt | FileCheck -check-prefix=IMP %s 21 22IMP: /implib:linkrepro-pdb.test.tmp1.lib 23