File: partial-type-stream.test

package info (click to toggle)
llvm-toolchain-15 1%3A15.0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,554,644 kB
  • sloc: cpp: 5,922,452; ansic: 1,012,136; asm: 674,362; python: 191,568; objc: 73,855; f90: 42,327; lisp: 31,913; pascal: 11,973; javascript: 10,144; sh: 9,421; perl: 7,447; ml: 5,527; awk: 3,523; makefile: 2,520; xml: 885; cs: 573; fortran: 567
file content (40 lines) | stat: -rw-r--r-- 2,079 bytes parent folder | download | duplicates (13)
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
35
36
37
38
39
40
; RUN: llvm-pdbutil dump -type-index=0x1019 %p/Inputs/ClassLayoutTest.pdb \
; RUN:     | FileCheck --check-prefix=NODEPS %s
; RUN: llvm-pdbutil dump -type-index=0x1019 -dependents -dont-resolve-forward-refs \
; RUN:     %p/Inputs/ClassLayoutTest.pdb | FileCheck --check-prefix=DEPS %s
; RUN: llvm-pdbutil dump -type-index=0x3,0x30,0x44,0x74 \
; RUN:     %p/Inputs/ClassLayoutTest.pdb | FileCheck --check-prefix=SIMPLE %s 


NODEPS:                          Types (TPI Stream)
NODEPS-NEXT: ============================================================
NODEPS-NEXT:   Showing 1 records.
NODEPS-NEXT:   0x1019 | LF_MFUNCTION [size = 28]
NODEPS-NEXT:            return type = 0x0003 (void), # args = 0, param list = 0x100E
NODEPS-NEXT:            class type = 0x1017, this type = 0x1018, this adjust = 0
NODEPS-NEXT:            calling conv = thiscall, options = None


DEPS:                           Types (TPI Stream)
DEPS-NEXT: ============================================================
DEPS-NEXT:   Showing 1 records and their dependents (4 records total)
DEPS-NEXT:   0x100E | LF_ARGLIST [size = 8]
DEPS-NEXT:   0x1017 | LF_CLASS [size = 60] `MembersTest::A`
DEPS-NEXT:            unique name: `.?AVA@MembersTest@@`
DEPS-NEXT:            vtable: <no type>, base list: <no type>, field list: <no type>
DEPS-NEXT:            options: forward ref | has unique name
DEPS-NEXT:   0x1018 | LF_POINTER [size = 12]
DEPS-NEXT:            referent = 0x1017, mode = pointer, opts = const, kind = ptr32
DEPS-NEXT:   0x1019 | LF_MFUNCTION [size = 28]
DEPS-NEXT:            return type = 0x0003 (void), # args = 0, param list = 0x100E
DEPS-NEXT:            class type = 0x1017, this type = 0x1018, this adjust = 0
DEPS-NEXT:            calling conv = thiscall, options = None


SIMPLE:                          Types (TPI Stream)
SIMPLE-NEXT: ============================================================
SIMPLE-NEXT:   Showing 4 records.
SIMPLE-NEXT:   0x0003 (void) | void
SIMPLE-NEXT:   0x0030 (bool) | bool
SIMPLE-NEXT:   0x0044 (__float48) | __float48
SIMPLE-NEXT:   0x0074 (int) | int