[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / DebugInfo / PDB / pdbdump-mergetypes.test
blob60cf4a172aa2ac59d1721b37ca605dd4200b0933
1 +; RUN: llvm-pdbutil yaml2pdb -pdb=%t.1.pdb %p/Inputs/merge-types-1.yaml
2 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2.pdb %p/Inputs/merge-types-2.yaml
3 ; RUN: llvm-pdbutil merge -pdb=%t.3.pdb %t.1.pdb %t.2.pdb
4 ; RUN: llvm-pdbutil dump -types %t.3.pdb | FileCheck -check-prefix=MERGED %s
7 MERGED:                          Types (TPI Stream)
8 MERGED-NEXT: ============================================================
9 MERGED-NEXT:   Showing 9 records
10 MERGED-NEXT:   0x1000 | LF_POINTER [size = 12]
11 MERGED-NEXT:            referent = 0x0075 (unsigned), mode = pointer, opts = None, kind = ptr32
12 MERGED-NEXT:   0x1001 | LF_POINTER [size = 12]
13 MERGED-NEXT:            referent = 0x0076 (__int64), mode = pointer, opts = None, kind = ptr32
14 MERGED-NEXT:   0x1002 | LF_STRUCTURE [size = 48] `OnlyInMerge1`
15 MERGED-NEXT:            unique name: `OnlyInMerge1`
16 MERGED-NEXT:            vtable: <no type>, base list: <no type>, field list: <no type>
17 MERGED-NEXT:            options: forward ref | has unique name
18 MERGED-NEXT:   0x1003 | LF_POINTER [size = 12]
19 MERGED-NEXT:            referent = 0x1000, mode = pointer, opts = None, kind = ptr32
20 MERGED-NEXT:   0x1004 | LF_POINTER [size = 12]
21 MERGED-NEXT:            referent = 0x1003, mode = pointer, opts = None, kind = ptr32
22 MERGED-NEXT:   0x1005 | LF_POINTER [size = 12]
23 MERGED-NEXT:            referent = 0x1001, mode = pointer, opts = None, kind = ptr32
24 MERGED-NEXT:   0x1006 | LF_ARGLIST [size = 20]
25 MERGED-NEXT:            0x0075 (unsigned): `unsigned`
26 MERGED-NEXT:            0x1000: `unsigned*`
27 MERGED-NEXT:            0x1003: `unsigned**`
28 MERGED-NEXT:   0x1007 | LF_PROCEDURE [size = 16]
29 MERGED-NEXT:            return type = 0x0075 (unsigned), # args = 0, param list = 0x1006
30 MERGED-NEXT:            calling conv = cdecl, options = None
31 MERGED-NEXT:   0x1008 | LF_STRUCTURE [size = 48] `OnlyInMerge2`
32 MERGED-NEXT:            unique name: `OnlyInMerge2`
33 MERGED-NEXT:            vtable: <no type>, base list: <no type>, field list: <no type>
34 MERGED-NEXT:            options: forward ref | has unique name