brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1004 B · 91e86e9 Raw
24 lines · plain
1# RUN: rm -rf %t1 %t22# RUN: mkdir %t1 %t23# RUN: yaml2obj %p/Inputs/pdb1.yaml -o %t1/foo.obj4# RUN: llvm-ar cru %t1/foo.lib %t1/foo.obj5# RUN: yaml2obj %p/Inputs/pdb2.yaml -o %t2/foo.obj6# RUN: llvm-ar cru %t2/foo.lib %t2/foo.obj7 8# RUN: rm -f %t.dll %t.pdb9# RUN: lld-link /debug /pdb:%t.pdb /dll /out:%t.dll /entry:main /nodefaultlib \10# RUN:   %t1/foo.lib %t2/foo.lib11 12# RUN: llvm-pdbutil dump -modules %t.pdb | FileCheck -check-prefix RAW %s13 14RAW:                               Modules15RAW-NEXT: ============================================================16RAW-NEXT:   Mod 0000 | `foo.obj`:17RAW-NEXT:              Obj: `{{.*}}1{{[\\/]}}foo.lib`:18RAW-NEXT:              debug stream: 11, # files: 1, has ec info: false19RAW-NEXT:              pdb file ni: 0 ``, src file ni: 0 ``20RAW-NEXT:   Mod 0001 | `foo.obj`:21RAW-NEXT:              Obj: `{{.*}}2{{[\\/]}}foo.lib`:22RAW-NEXT:              debug stream: 12, # files: 1, has ec info: false23RAW-NEXT:              pdb file ni: 0 ``, src file ni: 0 ``24