2017-08-27 14:46:59 -07:00
|
|
|
# RUN: yaml2obj < %p/Inputs/pdb1.yaml > %t1.obj
|
|
|
|
# RUN: yaml2obj < %p/Inputs/pdb2.yaml > %t2.obj
|
2018-01-17 14:29:21 -08:00
|
|
|
# RUN: rm -f %t.pdb %t.dll
|
2017-08-27 14:46:59 -07:00
|
|
|
# RUN: lld-link /debug /debugtype:pdata /pdb:%t.pdb /dll /out:%t.dll /entry:main /nodefaultlib \
|
|
|
|
# RUN: %t1.obj %t2.obj
|
|
|
|
|
|
|
|
# RUN: llvm-pdbutil pdb2yaml -pdb-stream %t.pdb | FileCheck %s
|
|
|
|
|
|
|
|
# CHECK: PdbStream:
|
2018-01-17 14:29:21 -08:00
|
|
|
# CHECK-NEXT: Age: 1
|
2017-08-27 14:46:59 -07:00
|
|
|
# CHECK-NEXT: Guid:
|
|
|
|
# CHECK-NEXT: Signature:
|
|
|
|
# CHECK-NEXT: Features: [ VC140 ]
|
|
|
|
# CHECK-NEXT: Version: VC70
|
|
|
|
|