xref: /llvm-project/bolt/test/X86/Inputs/dwarf4-types-helper2.s (revision c33536e9c3068ae45f34f6e1c562d51cb8aa702a)
1	.text
2	.file	"helper2.cpp"
3	.globl	_Z4foo2v                        # -- Begin function _Z4foo2v
4	.p2align	4, 0x90
5	.type	_Z4foo2v,@function
6_Z4foo2v:                               # @_Z4foo2v
7.Lfunc_begin0:
8	.file	1 "dwarf4-types-index-split-test" "helper2.cpp"
9	.loc	1 11 0                          # helper2.cpp:11:0
10	.cfi_startproc
11# %bb.0:                                # %entry
12	pushq	%rbp
13	.cfi_def_cfa_offset 16
14	.cfi_offset %rbp, -16
15	movq	%rsp, %rbp
16	.cfi_def_cfa_register %rbp
17.Ltmp0:
18	.loc	1 14 3 prologue_end             # helper2.cpp:14:3
19	xorl	%eax, %eax
20	.loc	1 14 3 epilogue_begin is_stmt 0 # helper2.cpp:14:3
21	popq	%rbp
22	.cfi_def_cfa %rsp, 8
23	retq
24.Ltmp1:
25.Lfunc_end0:
26	.size	_Z4foo2v, .Lfunc_end0-_Z4foo2v
27	.cfi_endproc
28                                        # -- End function
29	.section	.debug_types,"G",@progbits,10328350931784810499,comdat
30	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
31.Ldebug_info_start0:
32	.short	4                               # DWARF version number
33	.long	.debug_abbrev                   # Offset Into Abbrev. Section
34	.byte	8                               # Address Size (in bytes)
35	.quad	-8118393141924741117            # Type Signature
36	.long	30                              # Type DIE Offset
37	.byte	1                               # Abbrev [1] 0x17:0x42 DW_TAG_type_unit
38	.short	33                              # DW_AT_language
39	.long	.Lline_table_start0             # DW_AT_stmt_list
40	.byte	2                               # Abbrev [2] 0x1e:0x2e DW_TAG_structure_type
41	.byte	5                               # DW_AT_calling_convention
42	.long	.Linfo_string11                 # DW_AT_name
43	.byte	24                              # DW_AT_byte_size
44	.byte	1                               # DW_AT_decl_file
45	.byte	1                               # DW_AT_decl_line
46	.byte	3                               # Abbrev [3] 0x27:0xc DW_TAG_member
47	.long	.Linfo_string7                  # DW_AT_name
48	.long	76                              # DW_AT_type
49	.byte	1                               # DW_AT_decl_file
50	.byte	2                               # DW_AT_decl_line
51	.byte	0                               # DW_AT_data_member_location
52	.byte	3                               # Abbrev [3] 0x33:0xc DW_TAG_member
53	.long	.Linfo_string9                  # DW_AT_name
54	.long	76                              # DW_AT_type
55	.byte	1                               # DW_AT_decl_file
56	.byte	3                               # DW_AT_decl_line
57	.byte	8                               # DW_AT_data_member_location
58	.byte	3                               # Abbrev [3] 0x3f:0xc DW_TAG_member
59	.long	.Linfo_string10                 # DW_AT_name
60	.long	76                              # DW_AT_type
61	.byte	1                               # DW_AT_decl_file
62	.byte	4                               # DW_AT_decl_line
63	.byte	16                              # DW_AT_data_member_location
64	.byte	0                               # End Of Children Mark
65	.byte	4                               # Abbrev [4] 0x4c:0x5 DW_TAG_pointer_type
66	.long	81                              # DW_AT_type
67	.byte	5                               # Abbrev [5] 0x51:0x7 DW_TAG_base_type
68	.long	.Linfo_string8                  # DW_AT_name
69	.byte	6                               # DW_AT_encoding
70	.byte	1                               # DW_AT_byte_size
71	.byte	0                               # End Of Children Mark
72.Ldebug_info_end0:
73	.section	.debug_types,"G",@progbits,16677756278370493230,comdat
74	.long	.Ldebug_info_end1-.Ldebug_info_start1 # Length of Unit
75.Ldebug_info_start1:
76	.short	4                               # DWARF version number
77	.long	.debug_abbrev                   # Offset Into Abbrev. Section
78	.byte	8                               # Address Size (in bytes)
79	.quad	-1768987795339058386            # Type Signature
80	.long	30                              # Type DIE Offset
81	.byte	1                               # Abbrev [1] 0x17:0x36 DW_TAG_type_unit
82	.short	33                              # DW_AT_language
83	.long	.Lline_table_start0             # DW_AT_stmt_list
84	.byte	2                               # Abbrev [2] 0x1e:0x22 DW_TAG_structure_type
85	.byte	5                               # DW_AT_calling_convention
86	.long	.Linfo_string13                 # DW_AT_name
87	.byte	16                              # DW_AT_byte_size
88	.byte	1                               # DW_AT_decl_file
89	.byte	6                               # DW_AT_decl_line
90	.byte	3                               # Abbrev [3] 0x27:0xc DW_TAG_member
91	.long	.Linfo_string7                  # DW_AT_name
92	.long	64                              # DW_AT_type
93	.byte	1                               # DW_AT_decl_file
94	.byte	7                               # DW_AT_decl_line
95	.byte	0                               # DW_AT_data_member_location
96	.byte	3                               # Abbrev [3] 0x33:0xc DW_TAG_member
97	.long	.Linfo_string9                  # DW_AT_name
98	.long	64                              # DW_AT_type
99	.byte	1                               # DW_AT_decl_file
100	.byte	8                               # DW_AT_decl_line
101	.byte	8                               # DW_AT_data_member_location
102	.byte	0                               # End Of Children Mark
103	.byte	4                               # Abbrev [4] 0x40:0x5 DW_TAG_pointer_type
104	.long	69                              # DW_AT_type
105	.byte	5                               # Abbrev [5] 0x45:0x7 DW_TAG_base_type
106	.long	.Linfo_string8                  # DW_AT_name
107	.byte	6                               # DW_AT_encoding
108	.byte	1                               # DW_AT_byte_size
109	.byte	0                               # End Of Children Mark
110.Ldebug_info_end1:
111	.section	.debug_abbrev,"",@progbits
112	.byte	1                               # Abbreviation Code
113	.byte	65                              # DW_TAG_type_unit
114	.byte	1                               # DW_CHILDREN_yes
115	.byte	19                              # DW_AT_language
116	.byte	5                               # DW_FORM_data2
117	.byte	16                              # DW_AT_stmt_list
118	.byte	23                              # DW_FORM_sec_offset
119	.byte	0                               # EOM(1)
120	.byte	0                               # EOM(2)
121	.byte	2                               # Abbreviation Code
122	.byte	19                              # DW_TAG_structure_type
123	.byte	1                               # DW_CHILDREN_yes
124	.byte	54                              # DW_AT_calling_convention
125	.byte	11                              # DW_FORM_data1
126	.byte	3                               # DW_AT_name
127	.byte	14                              # DW_FORM_strp
128	.byte	11                              # DW_AT_byte_size
129	.byte	11                              # DW_FORM_data1
130	.byte	58                              # DW_AT_decl_file
131	.byte	11                              # DW_FORM_data1
132	.byte	59                              # DW_AT_decl_line
133	.byte	11                              # DW_FORM_data1
134	.byte	0                               # EOM(1)
135	.byte	0                               # EOM(2)
136	.byte	3                               # Abbreviation Code
137	.byte	13                              # DW_TAG_member
138	.byte	0                               # DW_CHILDREN_no
139	.byte	3                               # DW_AT_name
140	.byte	14                              # DW_FORM_strp
141	.byte	73                              # DW_AT_type
142	.byte	19                              # DW_FORM_ref4
143	.byte	58                              # DW_AT_decl_file
144	.byte	11                              # DW_FORM_data1
145	.byte	59                              # DW_AT_decl_line
146	.byte	11                              # DW_FORM_data1
147	.byte	56                              # DW_AT_data_member_location
148	.byte	11                              # DW_FORM_data1
149	.byte	0                               # EOM(1)
150	.byte	0                               # EOM(2)
151	.byte	4                               # Abbreviation Code
152	.byte	15                              # DW_TAG_pointer_type
153	.byte	0                               # DW_CHILDREN_no
154	.byte	73                              # DW_AT_type
155	.byte	19                              # DW_FORM_ref4
156	.byte	0                               # EOM(1)
157	.byte	0                               # EOM(2)
158	.byte	5                               # Abbreviation Code
159	.byte	36                              # DW_TAG_base_type
160	.byte	0                               # DW_CHILDREN_no
161	.byte	3                               # DW_AT_name
162	.byte	14                              # DW_FORM_strp
163	.byte	62                              # DW_AT_encoding
164	.byte	11                              # DW_FORM_data1
165	.byte	11                              # DW_AT_byte_size
166	.byte	11                              # DW_FORM_data1
167	.byte	0                               # EOM(1)
168	.byte	0                               # EOM(2)
169	.byte	6                               # Abbreviation Code
170	.byte	17                              # DW_TAG_compile_unit
171	.byte	1                               # DW_CHILDREN_yes
172	.byte	37                              # DW_AT_producer
173	.byte	14                              # DW_FORM_strp
174	.byte	19                              # DW_AT_language
175	.byte	5                               # DW_FORM_data2
176	.byte	3                               # DW_AT_name
177	.byte	14                              # DW_FORM_strp
178	.byte	16                              # DW_AT_stmt_list
179	.byte	23                              # DW_FORM_sec_offset
180	.byte	27                              # DW_AT_comp_dir
181	.byte	14                              # DW_FORM_strp
182	.byte	17                              # DW_AT_low_pc
183	.byte	1                               # DW_FORM_addr
184	.byte	18                              # DW_AT_high_pc
185	.byte	6                               # DW_FORM_data4
186	.byte	0                               # EOM(1)
187	.byte	0                               # EOM(2)
188	.byte	7                               # Abbreviation Code
189	.byte	46                              # DW_TAG_subprogram
190	.byte	1                               # DW_CHILDREN_yes
191	.byte	17                              # DW_AT_low_pc
192	.byte	1                               # DW_FORM_addr
193	.byte	18                              # DW_AT_high_pc
194	.byte	6                               # DW_FORM_data4
195	.byte	64                              # DW_AT_frame_base
196	.byte	24                              # DW_FORM_exprloc
197	.byte	110                             # DW_AT_linkage_name
198	.byte	14                              # DW_FORM_strp
199	.byte	3                               # DW_AT_name
200	.byte	14                              # DW_FORM_strp
201	.byte	58                              # DW_AT_decl_file
202	.byte	11                              # DW_FORM_data1
203	.byte	59                              # DW_AT_decl_line
204	.byte	11                              # DW_FORM_data1
205	.byte	73                              # DW_AT_type
206	.byte	19                              # DW_FORM_ref4
207	.byte	63                              # DW_AT_external
208	.byte	25                              # DW_FORM_flag_present
209	.byte	0                               # EOM(1)
210	.byte	0                               # EOM(2)
211	.byte	8                               # Abbreviation Code
212	.byte	52                              # DW_TAG_variable
213	.byte	0                               # DW_CHILDREN_no
214	.byte	2                               # DW_AT_location
215	.byte	24                              # DW_FORM_exprloc
216	.byte	3                               # DW_AT_name
217	.byte	14                              # DW_FORM_strp
218	.byte	58                              # DW_AT_decl_file
219	.byte	11                              # DW_FORM_data1
220	.byte	59                              # DW_AT_decl_line
221	.byte	11                              # DW_FORM_data1
222	.byte	73                              # DW_AT_type
223	.byte	19                              # DW_FORM_ref4
224	.byte	0                               # EOM(1)
225	.byte	0                               # EOM(2)
226	.byte	9                               # Abbreviation Code
227	.byte	19                              # DW_TAG_structure_type
228	.byte	0                               # DW_CHILDREN_no
229	.byte	60                              # DW_AT_declaration
230	.byte	25                              # DW_FORM_flag_present
231	.byte	105                             # DW_AT_signature
232	.byte	32                              # DW_FORM_ref_sig8
233	.byte	0                               # EOM(1)
234	.byte	0                               # EOM(2)
235	.byte	0                               # EOM(3)
236	.section	.debug_info,"",@progbits
237.Lcu_begin0:
238	.long	.Ldebug_info_end2-.Ldebug_info_start2 # Length of Unit
239.Ldebug_info_start2:
240	.short	4                               # DWARF version number
241	.long	.debug_abbrev                   # Offset Into Abbrev. Section
242	.byte	8                               # Address Size (in bytes)
243	.byte	6                               # Abbrev [6] 0xb:0x73 DW_TAG_compile_unit
244	.long	.Linfo_string0                  # DW_AT_producer
245	.short	33                              # DW_AT_language
246	.long	.Linfo_string1                  # DW_AT_name
247	.long	.Lline_table_start0             # DW_AT_stmt_list
248	.long	.Linfo_string2                  # DW_AT_comp_dir
249	.quad	.Lfunc_begin0                   # DW_AT_low_pc
250	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc
251	.byte	7                               # Abbrev [7] 0x2a:0x3a DW_TAG_subprogram
252	.quad	.Lfunc_begin0                   # DW_AT_low_pc
253	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc
254	.byte	1                               # DW_AT_frame_base
255	.byte	86
256	.long	.Linfo_string3                  # DW_AT_linkage_name
257	.long	.Linfo_string4                  # DW_AT_name
258	.byte	1                               # DW_AT_decl_file
259	.byte	11                              # DW_AT_decl_line
260	.long	100                             # DW_AT_type
261                                        # DW_AT_external
262	.byte	8                               # Abbrev [8] 0x47:0xe DW_TAG_variable
263	.byte	2                               # DW_AT_location
264	.byte	145
265	.byte	104
266	.long	.Linfo_string6                  # DW_AT_name
267	.byte	1                               # DW_AT_decl_file
268	.byte	12                              # DW_AT_decl_line
269	.long	107                             # DW_AT_type
270	.byte	8                               # Abbrev [8] 0x55:0xe DW_TAG_variable
271	.byte	2                               # DW_AT_location
272	.byte	145
273	.byte	88
274	.long	.Linfo_string12                 # DW_AT_name
275	.byte	1                               # DW_AT_decl_file
276	.byte	13                              # DW_AT_decl_line
277	.long	116                             # DW_AT_type
278	.byte	0                               # End Of Children Mark
279	.byte	5                               # Abbrev [5] 0x64:0x7 DW_TAG_base_type
280	.long	.Linfo_string5                  # DW_AT_name
281	.byte	5                               # DW_AT_encoding
282	.byte	4                               # DW_AT_byte_size
283	.byte	9                               # Abbrev [9] 0x6b:0x9 DW_TAG_structure_type
284                                        # DW_AT_declaration
285	.quad	-8118393141924741117            # DW_AT_signature
286	.byte	9                               # Abbrev [9] 0x74:0x9 DW_TAG_structure_type
287                                        # DW_AT_declaration
288	.quad	-1768987795339058386            # DW_AT_signature
289	.byte	0                               # End Of Children Mark
290.Ldebug_info_end2:
291	.section	.debug_str,"MS",@progbits,1
292.Linfo_string0:
293	.asciz	"clang version 17.0.0 (https://github.com/llvm/llvm-project.git b1465cd49efcbc114a75220b153f5a055ce7911f)" # string offset=0
294.Linfo_string1:
295	.asciz	"helper2.cpp"                   # string offset=105
296.Linfo_string2:
297	.asciz	"dwarf4-types-index-split-test" # string offset=117
298.Linfo_string3:
299	.asciz	"_Z4foo2v"                      # string offset=185
300.Linfo_string4:
301	.asciz	"foo2"                          # string offset=194
302.Linfo_string5:
303	.asciz	"int"                           # string offset=199
304.Linfo_string6:
305	.asciz	"f"                             # string offset=203
306.Linfo_string7:
307	.asciz	"c1"                            # string offset=205
308.Linfo_string8:
309	.asciz	"char"                          # string offset=208
310.Linfo_string9:
311	.asciz	"c2"                            # string offset=213
312.Linfo_string10:
313	.asciz	"c3"                            # string offset=216
314.Linfo_string11:
315	.asciz	"Foo2b"                         # string offset=219
316.Linfo_string12:
317	.asciz	"f2"                            # string offset=225
318.Linfo_string13:
319	.asciz	"Foo3b"                         # string offset=228
320	.ident	"clang version 17.0.0 (https://github.com/llvm/llvm-project.git b1465cd49efcbc114a75220b153f5a055ce7911f)"
321	.section	".note.GNU-stack","",@progbits
322	.addrsig
323	.section	.debug_line,"",@progbits
324.Lline_table_start0:
325