File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed
validation-test/Reflection Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,19 @@ reflect(object: obj)
23
23
// CHECK-64: (class reflect_NSArray.TestClass)
24
24
25
25
// CHECK-64: Type info:
26
- // CHECK-64: <null type info>
26
+ // CHECK-64: (class_instance size=24 alignment=16 stride=32 num_extra_inhabitants=0
27
+ // CHECK-64: (field name=t offset=16
28
+ // CHECK-64: (reference kind=strong refcounting=unknown)))
27
29
28
30
// CHECK-32: Reflecting an object.
29
31
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
30
32
// CHECK-32: Type reference:
31
33
// CHECK-32: (class reflect_NSArray.TestClass)
32
34
33
35
// CHECK-32: Type info:
34
- // CHECK-32: <null type info>
36
+ // CHECK-32: (class_instance size=16 alignment=16 stride=16 num_extra_inhabitants=0
37
+ // CHECK-32: (field name=t offset=12
38
+ // CHECK-32: (reference kind=strong refcounting=unknown)))
35
39
36
40
reflect ( any: obj)
37
41
Original file line number Diff line number Diff line change @@ -23,15 +23,19 @@ reflect(object: obj)
23
23
// CHECK-64: (class reflect_NSNumber.TestClass)
24
24
25
25
// CHECK-64: Type info:
26
- // CHECK-64: <null type info>
26
+ // CHECK-64: (class_instance size=24 alignment=16 stride=32 num_extra_inhabitants=0
27
+ // CHECK-64: (field name=t offset=16
28
+ // CHECK-64: (reference kind=strong refcounting=unknown)))
27
29
28
30
// CHECK-32: Reflecting an object.
29
31
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
30
32
// CHECK-32: Type reference:
31
33
// CHECK-32: (class reflect_NSNumber.TestClass)
32
34
33
35
// CHECK-32: Type info:
34
- // CHECK-32: <null type info>
36
+ // CHECK-32: (class_instance size=16 alignment=16 stride=16 num_extra_inhabitants=0
37
+ // CHECK-32: (field name=t offset=12
38
+ // CHECK-32: (reference kind=strong refcounting=unknown)))
35
39
36
40
reflect ( any: obj)
37
41
Original file line number Diff line number Diff line change @@ -23,15 +23,19 @@ reflect(object: obj)
23
23
// CHECK-64: (class reflect_NSSet.TestClass)
24
24
25
25
// CHECK-64: Type info:
26
- // CHECK-64: <null type info>
26
+ // CHECK-64: (class_instance size=24 alignment=16 stride=32 num_extra_inhabitants=0
27
+ // CHECK-64: (field name=t offset=16
28
+ // CHECK-64: (reference kind=strong refcounting=unknown)))
27
29
28
30
// CHECK-32: Reflecting an object.
29
31
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
30
32
// CHECK-32: Type reference:
31
33
// CHECK-32: (class reflect_NSSet.TestClass)
32
34
33
35
// CHECK-32: Type info:
34
- // CHECK-32: <null type info>
36
+ // CHECK-32: (class_instance size=16 alignment=16 stride=16 num_extra_inhabitants=0
37
+ // CHECK-32: (field name=t offset=12
38
+ // CHECK-32: (reference kind=strong refcounting=unknown)))
35
39
36
40
reflect ( any: obj)
37
41
Original file line number Diff line number Diff line change @@ -23,15 +23,19 @@ reflect(object: obj)
23
23
// CHECK-64: (class reflect_NSString.TestClass)
24
24
25
25
// CHECK-64: Type info:
26
- // CHECK-64: <null type info>
26
+ // CHECK-64: (class_instance size=24 alignment=16 stride=32 num_extra_inhabitants=0
27
+ // CHECK-64: (field name=t offset=16
28
+ // CHECK-64: (reference kind=strong refcounting=unknown)))
27
29
28
30
// CHECK-32: Reflecting an object.
29
31
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
30
32
// CHECK-32: Type reference:
31
33
// CHECK-32: (class reflect_NSString.TestClass)
32
34
33
35
// CHECK-32: Type info:
34
- // CHECK-32: <null type info>
36
+ // CHECK-32: (class_instance size=16 alignment=16 stride=16 num_extra_inhabitants=0
37
+ // CHECK-32: (field name=t offset=12
38
+ // CHECK-32: (reference kind=strong refcounting=unknown)))
35
39
36
40
reflect ( any: obj)
37
41
You can’t perform that action at this time.
0 commit comments