blob: 0d051aa300ea69562e80e0d3b52c198b2a983fdf (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
version: 0x00000002
root_id: 0x84ea5130 # interface
primitive {
id: 0x2d2f93e0
name: "u8"
encoding: UNSIGNED_INTEGER
bytesize: 0x00000001
}
primitive {
id: 0x47ea5d8b
name: "i16"
encoding: SIGNED_INTEGER
bytesize: 0x00000002
}
primitive {
id: 0x62aebfd4
name: "bool"
encoding: BOOLEAN
bytesize: 0x00000001
}
primitive {
id: 0xd4bacb77
name: "u32"
encoding: UNSIGNED_INTEGER
bytesize: 0x00000004
}
member {
id: 0x976dc47d
name: "__0"
type_id: 0xd4bacb77 # u32
offset: 32
}
member {
id: 0xdb2c3143
name: "__1"
type_id: 0xd4bacb77 # u32
offset: 64
}
member {
id: 0xa0f58f35
name: "x"
type_id: 0x47ea5d8b # i16
offset: 16
}
member {
id: 0xff34ede2
name: "y"
type_id: 0x47ea5d8b # i16
offset: 32
}
member {
id: 0x2172932a
name: "z"
type_id: 0x47ea5d8b # i16
offset: 48
}
variant_member {
id: 0xfc632c0e
name: "Unit"
discriminant_value: 0
type_id: 0x624786fb
}
variant_member {
id: 0xad130615
name: "TwoU32s"
discriminant_value: 1
type_id: 0x117f6853
}
variant_member {
id: 0xc48d72bf
name: "ThreeI16s"
discriminant_value: 2
type_id: 0x0e0db07a
}
struct_union {
id: 0x0e0db07a
kind: STRUCT
name: "simple::Foo::ThreeI16s"
definition {
bytesize: 12
member_id: 0xa0f58f35 # i16 x
member_id: 0xff34ede2 # i16 y
member_id: 0x2172932a # i16 z
}
}
struct_union {
id: 0x117f6853
kind: STRUCT
name: "simple::Foo::TwoU32s"
definition {
bytesize: 12
member_id: 0x976dc47d # u32 __0
member_id: 0xdb2c3143 # u32 __1
}
}
struct_union {
id: 0x624786fb
kind: STRUCT
name: "simple::Foo::Unit"
definition {
bytesize: 12
}
}
variant {
id: 0x15514ee1
name: "simple::Foo"
bytesize: 12
discriminant_type_id: 0x2d2f93e0
member_id: 0xfc632c0e
member_id: 0xad130615
member_id: 0xc48d72bf
}
function {
id: 0xbb043806
return_type_id: 0x62aebfd4 # bool
parameter_id: 0x15514ee1 # variant simple::Foo
}
elf_symbol {
id: 0x4e2f2fc8
name: "is_unit"
is_defined: true
symbol_type: FUNCTION
type_id: 0xbb043806 # bool(variant simple::Foo)
full_name: "simple::is_unit"
}
interface {
id: 0x84ea5130
symbol_id: 0x4e2f2fc8 # bool simple::is_unit(variant simple::Foo)
}
|