2017-06-10 04:46:17 +08:00
|
|
|
; RUN: llvm-pdbutil yaml2pdb -pdb=%t.1.pdb %p/Inputs/merge-ids-1.yaml
|
|
|
|
; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2.pdb %p/Inputs/merge-ids-2.yaml
|
|
|
|
; RUN: llvm-pdbutil merge -pdb=%t.3.pdb %t.1.pdb %t.2.pdb
|
2017-06-16 04:55:51 +08:00
|
|
|
; RUN: llvm-pdbutil raw -ipi-records %t.3.pdb | FileCheck -check-prefix=MERGED %s
|
|
|
|
; RUN: llvm-pdbutil raw -ipi-records %t.3.pdb | FileCheck -check-prefix=SUBSTRS %s
|
|
|
|
; RUN: llvm-pdbutil raw -tpi-records %t.3.pdb | FileCheck -check-prefix=TPI-EMPTY %s
|
2017-05-23 05:07:43 +08:00
|
|
|
|
|
|
|
|
2017-06-16 04:55:51 +08:00
|
|
|
MERGED: Type Info Stream (IPI)
|
|
|
|
MERGED: Record count: 8
|
|
|
|
MERGED-DAG: StringData: One
|
|
|
|
MERGED-DAG: StringData: Two
|
|
|
|
MERGED-DAG: StringData: SubOne
|
|
|
|
MERGED-DAG: StringData: SubTwo
|
|
|
|
MERGED-DAG: StringData: Main
|
|
|
|
MERGED-DAG: TypeLeafKind: LF_SUBSTR_LIST
|
|
|
|
MERGED-DAG: StringData: OnlyInFirst
|
|
|
|
MERGED-DAG: StringData: OnlyInSecond
|
2017-05-23 05:07:43 +08:00
|
|
|
|
2017-06-16 04:55:51 +08:00
|
|
|
SUBSTRS: StringList
|
|
|
|
SUBSTRS: TypeLeafKind: LF_SUBSTR_LIST
|
|
|
|
SUBSTRS-NEXT: NumStrings: 2
|
|
|
|
SUBSTRS-NEXT: Strings [
|
|
|
|
SUBSTRS-NEXT: SubOne
|
|
|
|
SUBSTRS-NEXT: SubTwo
|
|
|
|
SUBSTRS: StringId
|
|
|
|
SUBSTRS-NEXT: TypeLeafKind: LF_STRING_ID
|
|
|
|
SUBSTRS-NEXT: Id: "SubOne" "SubTwo"
|
|
|
|
SUBSTRS-NEXT: StringData: Main
|
|
|
|
|
|
|
|
TPI-EMPTY: Record count: 0
|