• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6
7
8MERGED:                          Types (IPI Stream)
9MERGED-NEXT: ============================================================
10MERGED-NEXT:   Showing 8 records
11MERGED-NEXT:   0x1000 | LF_STRING_ID [size = 12] ID: <no type>, String: One
12MERGED-NEXT:   0x1001 | LF_STRING_ID [size = 12] ID: <no type>, String: Two
13MERGED-NEXT:   0x1002 | LF_STRING_ID [size = 20] ID: <no type>, String: OnlyInFirst
14MERGED-NEXT:   0x1003 | LF_STRING_ID [size = 16] ID: <no type>, String: SubOne
15MERGED-NEXT:   0x1004 | LF_STRING_ID [size = 16] ID: <no type>, String: SubTwo
16MERGED-NEXT:   0x1005 | LF_SUBSTR_LIST [size = 16]
17MERGED-NEXT:            0x1003: `SubOne`
18MERGED-NEXT:            0x1004: `SubTwo`
19MERGED-NEXT:   0x1006 | LF_STRING_ID [size = 16] ID: 0x1005, String: Main
20MERGED-NEXT:   0x1007 | LF_STRING_ID [size = 24] ID: <no type>, String: OnlyInSecond
21
22TPI-EMPTY:                     Types (TPI Stream)
23TPI-EMPTY-NEXT: ============================================================
24TPI-EMPTY-NEXT:   Showing 0 records
25