File: pdbdump-mergetypes.test

package info (click to toggle)
llvm-toolchain-19 1%3A19.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,998,520 kB
  • sloc: cpp: 6,951,680; ansic: 1,486,157; asm: 913,598; python: 232,024; f90: 80,126; objc: 75,281; lisp: 37,276; pascal: 16,990; sh: 10,009; ml: 5,058; perl: 4,724; awk: 3,523; makefile: 3,167; javascript: 2,504; xml: 892; fortran: 664; cs: 573
file content (34 lines) | stat: -rw-r--r-- 2,043 bytes parent folder | download | duplicates (27)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
+; RUN: llvm-pdbutil yaml2pdb -pdb=%t.1.pdb %p/Inputs/merge-types-1.yaml
; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2.pdb %p/Inputs/merge-types-2.yaml
; RUN: llvm-pdbutil merge -pdb=%t.3.pdb %t.1.pdb %t.2.pdb
; RUN: llvm-pdbutil dump -types %t.3.pdb | FileCheck -check-prefix=MERGED %s


MERGED:                          Types (TPI Stream)
MERGED-NEXT: ============================================================
MERGED-NEXT:   Showing 9 records
MERGED-NEXT:   0x1000 | LF_POINTER [size = 12]
MERGED-NEXT:            referent = 0x0075 (unsigned), mode = pointer, opts = None, kind = ptr32
MERGED-NEXT:   0x1001 | LF_POINTER [size = 12]
MERGED-NEXT:            referent = 0x0076 (__int64), mode = pointer, opts = None, kind = ptr32
MERGED-NEXT:   0x1002 | LF_STRUCTURE [size = 48] `OnlyInMerge1`
MERGED-NEXT:            unique name: `OnlyInMerge1`
MERGED-NEXT:            vtable: <no type>, base list: <no type>, field list: <no type>
MERGED-NEXT:            options: forward ref | has unique name
MERGED-NEXT:   0x1003 | LF_POINTER [size = 12]
MERGED-NEXT:            referent = 0x1000, mode = pointer, opts = None, kind = ptr32
MERGED-NEXT:   0x1004 | LF_POINTER [size = 12]
MERGED-NEXT:            referent = 0x1003, mode = pointer, opts = None, kind = ptr32
MERGED-NEXT:   0x1005 | LF_POINTER [size = 12]
MERGED-NEXT:            referent = 0x1001, mode = pointer, opts = None, kind = ptr32
MERGED-NEXT:   0x1006 | LF_ARGLIST [size = 20]
MERGED-NEXT:            0x0075 (unsigned): `unsigned`
MERGED-NEXT:            0x1000: `unsigned*`
MERGED-NEXT:            0x1003: `unsigned**`
MERGED-NEXT:   0x1007 | LF_PROCEDURE [size = 16]
MERGED-NEXT:            return type = 0x0075 (unsigned), # args = 0, param list = 0x1006
MERGED-NEXT:            calling conv = cdecl, options = None
MERGED-NEXT:   0x1008 | LF_STRUCTURE [size = 48] `OnlyInMerge2`
MERGED-NEXT:            unique name: `OnlyInMerge2`
MERGED-NEXT:            vtable: <no type>, base list: <no type>, field list: <no type>
MERGED-NEXT:            options: forward ref | has unique name