3 # RUN: yaml2obj %p/Inputs/pdb1.yaml -o %t1/foo.obj
4 # RUN: llvm-ar cru %t1/foo.lib %t1/foo.obj
5 # RUN: yaml2obj %p/Inputs/pdb2.yaml -o %t2/foo.obj
6 # RUN: llvm-ar cru %t2/foo.lib %t2/foo.obj
8 # RUN: rm -f %t.dll %t.pdb
9 # RUN: lld-link /debug /pdb:%t.pdb /dll /out:%t.dll /entry:main /nodefaultlib \
10 # RUN: %t1/foo.lib %t2/foo.lib
12 # RUN: llvm-pdbutil dump -modules %t.pdb | FileCheck -check-prefix RAW %s
15 RAW-NEXT: ============================================================
16 RAW-NEXT: Mod 0000 | `foo.obj`:
17 RAW-NEXT: Obj: `{{.*}}1{{[\\/]}}foo.lib`:
18 RAW-NEXT: debug stream: 11, # files: 1, has ec info: false
19 RAW-NEXT: pdb file ni: 0 ``, src file ni: 0 ``
20 RAW-NEXT: Mod 0001 | `foo.obj`:
21 RAW-NEXT: Obj: `{{.*}}2{{[\\/]}}foo.lib`:
22 RAW-NEXT: debug stream: 12, # files: 1, has ec info: false
23 RAW-NEXT: pdb file ni: 0 ``, src file ni: 0 ``