1 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.1.pdb %p/Inputs/merge-ids-1.yaml
2 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2.pdb %p/Inputs/merge-ids-2.yaml
3 ; RUN: llvm-pdbutil merge -pdb=%t.3.pdb %t.1.pdb %t.2.pdb
4 ; RUN: llvm-pdbutil dump -ids %t.3.pdb | FileCheck -check-prefix=MERGED %s
5 ; RUN: llvm-pdbutil dump -types %t.3.pdb | FileCheck -check-prefix=TPI-EMPTY %s
8 MERGED: Types (IPI Stream)
9 MERGED-NEXT: ============================================================
10 MERGED-NEXT: Showing 8 records
11 MERGED-NEXT: 0x1000 | LF_STRING_ID [size = 12] ID: <no type>, String: One
12 MERGED-NEXT: 0x1001 | LF_STRING_ID [size = 12] ID: <no type>, String: Two
13 MERGED-NEXT: 0x1002 | LF_STRING_ID [size = 20] ID: <no type>, String: OnlyInFirst
14 MERGED-NEXT: 0x1003 | LF_STRING_ID [size = 16] ID: <no type>, String: SubOne
15 MERGED-NEXT: 0x1004 | LF_STRING_ID [size = 16] ID: <no type>, String: SubTwo
16 MERGED-NEXT: 0x1005 | LF_SUBSTR_LIST [size = 16]
17 MERGED-NEXT: 0x1003: `SubOne`
18 MERGED-NEXT: 0x1004: `SubTwo`
19 MERGED-NEXT: 0x1006 | LF_STRING_ID [size = 16] ID: 0x1005, String: Main
20 MERGED-NEXT: 0x1007 | LF_STRING_ID [size = 24] ID: <no type>, String: OnlyInSecond
22 TPI-EMPTY: Types (TPI Stream)
23 TPI-EMPTY-NEXT: ============================================================
24 TPI-EMPTY-NEXT: Showing 0 records