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