xref: /llvm-project/llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-43860-clang.s (revision b19cfb9175223d3e1bb3ef6d49ccd26d0104906c)
1	.text
2	.file	"pr-43860.cpp"
3	.globaltype	__stack_pointer, i32
4	.functype	_Z4testii (i32, i32) -> (i32)
5	.section	.text._Z4testii,"",@
6	.hidden	_Z4testii                       # -- Begin function _Z4testii
7	.globl	_Z4testii
8	.type	_Z4testii,@function
9_Z4testii:                              # @_Z4testii
10.Lfunc_begin0:
11	.file	1 "/data/projects/scripts/regression-suite/input/general" "pr-43860.cpp"
12	.loc	1 11 0                          # pr-43860.cpp:11:0
13	.functype	_Z4testii (i32, i32) -> (i32)
14	.local  	i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32
15# %bb.0:                                # %entry
16	global.get	__stack_pointer
17	local.set	2
18	i32.const	32
19	local.set	3
20	local.get	2
21	local.get	3
22	i32.sub
23	local.set	4
24	local.get	4
25	local.get	0
26	i32.store	16
27	local.get	4
28	local.get	1
29	i32.store	12
30.Ltmp0:
31	.loc	1 12 11 prologue_end            # pr-43860.cpp:12:11
32	local.get	4
33	i32.load	16
34	local.set	5
35	.loc	1 12 7 is_stmt 0                # pr-43860.cpp:12:7
36	local.get	4
37	local.get	5
38	i32.store	8
39	.loc	1 13 23 is_stmt 1               # pr-43860.cpp:13:23
40	local.get	4
41	i32.load	12
42	local.set	6
43	local.get	4
44	local.get	6
45	i32.store	28
46.Ltmp1:
47	.loc	1 3 15                          # pr-43860.cpp:3:15
48	local.get	4
49	i32.load	28
50	local.set	7
51	.loc	1 3 7 is_stmt 0                 # pr-43860.cpp:3:7
52	local.get	4
53	local.get	7
54	i32.store	24
55.Ltmp2:
56	.loc	1 5 17 is_stmt 1                # pr-43860.cpp:5:17
57	local.get	4
58	i32.load	28
59	local.set	8
60	.loc	1 5 25 is_stmt 0                # pr-43860.cpp:5:25
61	local.get	4
62	i32.load	24
63	local.set	9
64	.loc	1 5 23                          # pr-43860.cpp:5:23
65	local.get	8
66	local.get	9
67	i32.add
68	local.set	10
69	.loc	1 5 9                           # pr-43860.cpp:5:9
70	local.get	4
71	local.get	10
72	i32.store	20
73	.loc	1 6 13 is_stmt 1                # pr-43860.cpp:6:13
74	local.get	4
75	i32.load	20
76	local.set	11
77	.loc	1 6 11 is_stmt 0                # pr-43860.cpp:6:11
78	local.get	4
79	local.get	11
80	i32.store	24
81.Ltmp3:
82	.loc	1 8 10 is_stmt 1                # pr-43860.cpp:8:10
83	local.get	4
84	i32.load	24
85	local.set	12
86.Ltmp4:
87	.loc	1 13 5                          # pr-43860.cpp:13:5
88	local.get	4
89	i32.load	8
90	local.set	13
91	local.get	13
92	local.get	12
93	i32.add
94	local.set	14
95	local.get	4
96	local.get	14
97	i32.store	8
98	.loc	1 14 10                         # pr-43860.cpp:14:10
99	local.get	4
100	i32.load	8
101	local.set	15
102	.loc	1 14 3 is_stmt 0                # pr-43860.cpp:14:3
103	local.get	15
104	return
105	end_function
106.Ltmp5:
107.Lfunc_end0:
108                                        # -- End function
109	.section	.debug_abbrev,"",@
110	.int8	1                               # Abbreviation Code
111	.int8	17                              # DW_TAG_compile_unit
112	.int8	1                               # DW_CHILDREN_yes
113	.int8	37                              # DW_AT_producer
114	.int8	14                              # DW_FORM_strp
115	.int8	19                              # DW_AT_language
116	.int8	5                               # DW_FORM_data2
117	.int8	3                               # DW_AT_name
118	.int8	14                              # DW_FORM_strp
119	.int8	16                              # DW_AT_stmt_list
120	.int8	23                              # DW_FORM_sec_offset
121	.int8	27                              # DW_AT_comp_dir
122	.int8	14                              # DW_FORM_strp
123	.int8	17                              # DW_AT_low_pc
124	.int8	1                               # DW_FORM_addr
125	.int8	18                              # DW_AT_high_pc
126	.int8	6                               # DW_FORM_data4
127	.int8	0                               # EOM(1)
128	.int8	0                               # EOM(2)
129	.int8	2                               # Abbreviation Code
130	.int8	46                              # DW_TAG_subprogram
131	.int8	1                               # DW_CHILDREN_yes
132	.int8	110                             # DW_AT_linkage_name
133	.int8	14                              # DW_FORM_strp
134	.int8	3                               # DW_AT_name
135	.int8	14                              # DW_FORM_strp
136	.int8	58                              # DW_AT_decl_file
137	.int8	11                              # DW_FORM_data1
138	.int8	59                              # DW_AT_decl_line
139	.int8	11                              # DW_FORM_data1
140	.int8	73                              # DW_AT_type
141	.int8	19                              # DW_FORM_ref4
142	.int8	63                              # DW_AT_external
143	.int8	25                              # DW_FORM_flag_present
144	.int8	32                              # DW_AT_inline
145	.int8	11                              # DW_FORM_data1
146	.int8	0                               # EOM(1)
147	.int8	0                               # EOM(2)
148	.int8	3                               # Abbreviation Code
149	.int8	5                               # DW_TAG_formal_parameter
150	.int8	0                               # DW_CHILDREN_no
151	.int8	3                               # DW_AT_name
152	.int8	14                              # DW_FORM_strp
153	.int8	58                              # DW_AT_decl_file
154	.int8	11                              # DW_FORM_data1
155	.int8	59                              # DW_AT_decl_line
156	.int8	11                              # DW_FORM_data1
157	.int8	73                              # DW_AT_type
158	.int8	19                              # DW_FORM_ref4
159	.int8	0                               # EOM(1)
160	.int8	0                               # EOM(2)
161	.int8	4                               # Abbreviation Code
162	.int8	52                              # DW_TAG_variable
163	.int8	0                               # DW_CHILDREN_no
164	.int8	3                               # DW_AT_name
165	.int8	14                              # DW_FORM_strp
166	.int8	58                              # DW_AT_decl_file
167	.int8	11                              # DW_FORM_data1
168	.int8	59                              # DW_AT_decl_line
169	.int8	11                              # DW_FORM_data1
170	.int8	73                              # DW_AT_type
171	.int8	19                              # DW_FORM_ref4
172	.int8	0                               # EOM(1)
173	.int8	0                               # EOM(2)
174	.int8	5                               # Abbreviation Code
175	.int8	11                              # DW_TAG_lexical_block
176	.int8	1                               # DW_CHILDREN_yes
177	.int8	0                               # EOM(1)
178	.int8	0                               # EOM(2)
179	.int8	6                               # Abbreviation Code
180	.int8	36                              # DW_TAG_base_type
181	.int8	0                               # DW_CHILDREN_no
182	.int8	3                               # DW_AT_name
183	.int8	14                              # DW_FORM_strp
184	.int8	62                              # DW_AT_encoding
185	.int8	11                              # DW_FORM_data1
186	.int8	11                              # DW_AT_byte_size
187	.int8	11                              # DW_FORM_data1
188	.int8	0                               # EOM(1)
189	.int8	0                               # EOM(2)
190	.int8	7                               # Abbreviation Code
191	.int8	46                              # DW_TAG_subprogram
192	.int8	1                               # DW_CHILDREN_yes
193	.int8	17                              # DW_AT_low_pc
194	.int8	1                               # DW_FORM_addr
195	.int8	18                              # DW_AT_high_pc
196	.int8	6                               # DW_FORM_data4
197	.int8	64                              # DW_AT_frame_base
198	.int8	24                              # DW_FORM_exprloc
199	.int8	110                             # DW_AT_linkage_name
200	.int8	14                              # DW_FORM_strp
201	.int8	3                               # DW_AT_name
202	.int8	14                              # DW_FORM_strp
203	.int8	58                              # DW_AT_decl_file
204	.int8	11                              # DW_FORM_data1
205	.int8	59                              # DW_AT_decl_line
206	.int8	11                              # DW_FORM_data1
207	.int8	73                              # DW_AT_type
208	.int8	19                              # DW_FORM_ref4
209	.int8	63                              # DW_AT_external
210	.int8	25                              # DW_FORM_flag_present
211	.int8	0                               # EOM(1)
212	.int8	0                               # EOM(2)
213	.int8	8                               # Abbreviation Code
214	.int8	5                               # DW_TAG_formal_parameter
215	.int8	0                               # DW_CHILDREN_no
216	.int8	2                               # DW_AT_location
217	.int8	24                              # DW_FORM_exprloc
218	.int8	3                               # DW_AT_name
219	.int8	14                              # DW_FORM_strp
220	.int8	58                              # DW_AT_decl_file
221	.int8	11                              # DW_FORM_data1
222	.int8	59                              # DW_AT_decl_line
223	.int8	11                              # DW_FORM_data1
224	.int8	73                              # DW_AT_type
225	.int8	19                              # DW_FORM_ref4
226	.int8	0                               # EOM(1)
227	.int8	0                               # EOM(2)
228	.int8	9                               # Abbreviation Code
229	.int8	52                              # DW_TAG_variable
230	.int8	0                               # DW_CHILDREN_no
231	.int8	2                               # DW_AT_location
232	.int8	24                              # DW_FORM_exprloc
233	.int8	3                               # DW_AT_name
234	.int8	14                              # DW_FORM_strp
235	.int8	58                              # DW_AT_decl_file
236	.int8	11                              # DW_FORM_data1
237	.int8	59                              # DW_AT_decl_line
238	.int8	11                              # DW_FORM_data1
239	.int8	73                              # DW_AT_type
240	.int8	19                              # DW_FORM_ref4
241	.int8	0                               # EOM(1)
242	.int8	0                               # EOM(2)
243	.int8	10                              # Abbreviation Code
244	.int8	29                              # DW_TAG_inlined_subroutine
245	.int8	1                               # DW_CHILDREN_yes
246	.int8	49                              # DW_AT_abstract_origin
247	.int8	19                              # DW_FORM_ref4
248	.int8	17                              # DW_AT_low_pc
249	.int8	1                               # DW_FORM_addr
250	.int8	18                              # DW_AT_high_pc
251	.int8	6                               # DW_FORM_data4
252	.int8	88                              # DW_AT_call_file
253	.int8	11                              # DW_FORM_data1
254	.int8	89                              # DW_AT_call_line
255	.int8	11                              # DW_FORM_data1
256	.int8	87                              # DW_AT_call_column
257	.int8	11                              # DW_FORM_data1
258	.int8	0                               # EOM(1)
259	.int8	0                               # EOM(2)
260	.int8	11                              # Abbreviation Code
261	.int8	5                               # DW_TAG_formal_parameter
262	.int8	0                               # DW_CHILDREN_no
263	.int8	2                               # DW_AT_location
264	.int8	24                              # DW_FORM_exprloc
265	.int8	49                              # DW_AT_abstract_origin
266	.int8	19                              # DW_FORM_ref4
267	.int8	0                               # EOM(1)
268	.int8	0                               # EOM(2)
269	.int8	12                              # Abbreviation Code
270	.int8	52                              # DW_TAG_variable
271	.int8	0                               # DW_CHILDREN_no
272	.int8	2                               # DW_AT_location
273	.int8	24                              # DW_FORM_exprloc
274	.int8	49                              # DW_AT_abstract_origin
275	.int8	19                              # DW_FORM_ref4
276	.int8	0                               # EOM(1)
277	.int8	0                               # EOM(2)
278	.int8	13                              # Abbreviation Code
279	.int8	11                              # DW_TAG_lexical_block
280	.int8	1                               # DW_CHILDREN_yes
281	.int8	17                              # DW_AT_low_pc
282	.int8	1                               # DW_FORM_addr
283	.int8	18                              # DW_AT_high_pc
284	.int8	6                               # DW_FORM_data4
285	.int8	0                               # EOM(1)
286	.int8	0                               # EOM(2)
287	.int8	0                               # EOM(3)
288	.section	.debug_info,"",@
289.Lcu_begin0:
290	.int32	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
291.Ldebug_info_start0:
292	.int16	4                               # DWARF version number
293	.int32	.debug_abbrev0                  # Offset Into Abbrev. Section
294	.int8	4                               # Address Size (in bytes)
295	.int8	1                               # Abbrev [1] 0xb:0xd1 DW_TAG_compile_unit
296	.int32	.Linfo_string0                  # DW_AT_producer
297	.int16	33                              # DW_AT_language
298	.int32	.Linfo_string1                  # DW_AT_name
299	.int32	.Lline_table_start0             # DW_AT_stmt_list
300	.int32	.Linfo_string2                  # DW_AT_comp_dir
301	.int32	.Lfunc_begin0                   # DW_AT_low_pc
302	.int32	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc
303	.int8	2                               # Abbrev [2] 0x26:0x34 DW_TAG_subprogram
304	.int32	.Linfo_string3                  # DW_AT_linkage_name
305	.int32	.Linfo_string4                  # DW_AT_name
306	.int8	1                               # DW_AT_decl_file
307	.int8	2                               # DW_AT_decl_line
308	.int32	90                              # DW_AT_type
309                                        # DW_AT_external
310	.int8	1                               # DW_AT_inline
311	.int8	3                               # Abbrev [3] 0x36:0xb DW_TAG_formal_parameter
312	.int32	.Linfo_string6                  # DW_AT_name
313	.int8	1                               # DW_AT_decl_file
314	.int8	2                               # DW_AT_decl_line
315	.int32	90                              # DW_AT_type
316	.int8	4                               # Abbrev [4] 0x41:0xb DW_TAG_variable
317	.int32	.Linfo_string7                  # DW_AT_name
318	.int8	1                               # DW_AT_decl_file
319	.int8	3                               # DW_AT_decl_line
320	.int32	90                              # DW_AT_type
321	.int8	5                               # Abbrev [5] 0x4c:0xd DW_TAG_lexical_block
322	.int8	4                               # Abbrev [4] 0x4d:0xb DW_TAG_variable
323	.int32	.Linfo_string8                  # DW_AT_name
324	.int8	1                               # DW_AT_decl_file
325	.int8	5                               # DW_AT_decl_line
326	.int32	90                              # DW_AT_type
327	.int8	0                               # End Of Children Mark
328	.int8	0                               # End Of Children Mark
329	.int8	6                               # Abbrev [6] 0x5a:0x7 DW_TAG_base_type
330	.int32	.Linfo_string5                  # DW_AT_name
331	.int8	5                               # DW_AT_encoding
332	.int8	4                               # DW_AT_byte_size
333	.int8	7                               # Abbrev [7] 0x61:0x7a DW_TAG_subprogram
334	.int32	.Lfunc_begin0                   # DW_AT_low_pc
335	.int32	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc
336	.int8	4                               # DW_AT_frame_base
337	.int8	237
338	.int8	0
339	.int8	4
340	.int8	159
341	.int32	.Linfo_string9                  # DW_AT_linkage_name
342	.int32	.Linfo_string10                 # DW_AT_name
343	.int8	1                               # DW_AT_decl_file
344	.int8	11                              # DW_AT_decl_line
345	.int32	90                              # DW_AT_type
346                                        # DW_AT_external
347	.int8	8                               # Abbrev [8] 0x7d:0xe DW_TAG_formal_parameter
348	.int8	2                               # DW_AT_location
349	.int8	145
350	.int8	16
351	.int32	.Linfo_string11                 # DW_AT_name
352	.int8	1                               # DW_AT_decl_file
353	.int8	11                              # DW_AT_decl_line
354	.int32	90                              # DW_AT_type
355	.int8	8                               # Abbrev [8] 0x8b:0xe DW_TAG_formal_parameter
356	.int8	2                               # DW_AT_location
357	.int8	145
358	.int8	12
359	.int32	.Linfo_string12                 # DW_AT_name
360	.int8	1                               # DW_AT_decl_file
361	.int8	11                              # DW_AT_decl_line
362	.int32	90                              # DW_AT_type
363	.int8	9                               # Abbrev [9] 0x99:0xe DW_TAG_variable
364	.int8	2                               # DW_AT_location
365	.int8	145
366	.int8	8
367	.int32	.Linfo_string13                 # DW_AT_name
368	.int8	1                               # DW_AT_decl_file
369	.int8	12                              # DW_AT_decl_line
370	.int32	90                              # DW_AT_type
371	.int8	10                              # Abbrev [10] 0xa7:0x33 DW_TAG_inlined_subroutine
372	.int32	38                              # DW_AT_abstract_origin
373	.int32	.Ltmp1                          # DW_AT_low_pc
374	.int32	.Ltmp4-.Ltmp1                   # DW_AT_high_pc
375	.int8	1                               # DW_AT_call_file
376	.int8	13                              # DW_AT_call_line
377	.int8	8                               # DW_AT_call_column
378	.int8	11                              # Abbrev [11] 0xb7:0x8 DW_TAG_formal_parameter
379	.int8	2                               # DW_AT_location
380	.int8	145
381	.int8	28
382	.int32	54                              # DW_AT_abstract_origin
383	.int8	12                              # Abbrev [12] 0xbf:0x8 DW_TAG_variable
384	.int8	2                               # DW_AT_location
385	.int8	145
386	.int8	24
387	.int32	65                              # DW_AT_abstract_origin
388	.int8	13                              # Abbrev [13] 0xc7:0x12 DW_TAG_lexical_block
389	.int32	.Ltmp2                          # DW_AT_low_pc
390	.int32	.Ltmp3-.Ltmp2                   # DW_AT_high_pc
391	.int8	12                              # Abbrev [12] 0xd0:0x8 DW_TAG_variable
392	.int8	2                               # DW_AT_location
393	.int8	145
394	.int8	20
395	.int32	77                              # DW_AT_abstract_origin
396	.int8	0                               # End Of Children Mark
397	.int8	0                               # End Of Children Mark
398	.int8	0                               # End Of Children Mark
399	.int8	0                               # End Of Children Mark
400.Ldebug_info_end0:
401	.section	.debug_str,"S",@
402.Linfo_string0:
403	.asciz	"clang version 19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)" # string offset=0
404.Linfo_string1:
405	.asciz	"pr-43860.cpp"                  # string offset=111
406.Linfo_string2:
407	.asciz	"/data/projects/scripts/regression-suite/input/general" # string offset=124
408.Linfo_string3:
409	.asciz	"_Z14InlineFunctioni"           # string offset=178
410.Linfo_string4:
411	.asciz	"InlineFunction"                # string offset=198
412.Linfo_string5:
413	.asciz	"int"                           # string offset=213
414.Linfo_string6:
415	.asciz	"Param"                         # string offset=217
416.Linfo_string7:
417	.asciz	"Var_1"                         # string offset=223
418.Linfo_string8:
419	.asciz	"Var_2"                         # string offset=229
420.Linfo_string9:
421	.asciz	"_Z4testii"                     # string offset=235
422.Linfo_string10:
423	.asciz	"test"                          # string offset=245
424.Linfo_string11:
425	.asciz	"Param_1"                       # string offset=250
426.Linfo_string12:
427	.asciz	"Param_2"                       # string offset=258
428.Linfo_string13:
429	.asciz	"A"                             # string offset=266
430	.ident	"clang version 19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)"
431	.section	.custom_section.producers,"",@
432	.int8	2
433	.int8	8
434	.ascii	"language"
435	.int8	1
436	.int8	14
437	.ascii	"C_plus_plus_14"
438	.int8	0
439	.int8	12
440	.ascii	"processed-by"
441	.int8	1
442	.int8	5
443	.ascii	"clang"
444	.int8	96
445	.ascii	"19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)"
446	.section	.debug_str,"S",@
447	.section	.custom_section.target_features,"",@
448	.int8	2
449	.int8	43
450	.int8	15
451	.ascii	"mutable-globals"
452	.int8	43
453	.int8	8
454	.ascii	"sign-ext"
455	.section	.debug_str,"S",@
456	.section	.debug_line,"",@
457.Lline_table_start0:
458