xref: /llvm-project/llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-46466-clang.s (revision b19cfb9175223d3e1bb3ef6d49ccd26d0104906c)
1	.text
2	.file	"pr-46466.cpp"
3	.file	1 "/data/projects/scripts/regression-suite/input/general" "pr-46466.cpp"
4	.functype	_Z4testv () -> (i32)
5	.section	.text._Z4testv,"",@
6	.hidden	_Z4testv                        # -- Begin function _Z4testv
7	.globl	_Z4testv
8	.type	_Z4testv,@function
9_Z4testv:                               # @_Z4testv
10.Lfunc_begin0:
11	.functype	_Z4testv () -> (i32)
12	.local  	i32
13# %bb.0:                                # %entry
14	.loc	1 10 3 prologue_end             # pr-46466.cpp:10:3
15	i32.const	1
16	local.set	0
17	local.get	0
18	return
19	end_function
20.Ltmp0:
21.Lfunc_end0:
22                                        # -- End function
23	.hidden	S                               # @S
24	.type	S,@object
25	.section	.bss.S,"",@
26	.globl	S
27S:
28	.skip	1
29	.size	S, 1
30
31	.section	.debug_abbrev,"",@
32	.int8	1                               # Abbreviation Code
33	.int8	17                              # DW_TAG_compile_unit
34	.int8	1                               # DW_CHILDREN_yes
35	.int8	37                              # DW_AT_producer
36	.int8	14                              # DW_FORM_strp
37	.int8	19                              # DW_AT_language
38	.int8	5                               # DW_FORM_data2
39	.int8	3                               # DW_AT_name
40	.int8	14                              # DW_FORM_strp
41	.int8	16                              # DW_AT_stmt_list
42	.int8	23                              # DW_FORM_sec_offset
43	.int8	27                              # DW_AT_comp_dir
44	.int8	14                              # DW_FORM_strp
45	.int8	17                              # DW_AT_low_pc
46	.int8	1                               # DW_FORM_addr
47	.int8	18                              # DW_AT_high_pc
48	.int8	6                               # DW_FORM_data4
49	.int8	0                               # EOM(1)
50	.int8	0                               # EOM(2)
51	.int8	2                               # Abbreviation Code
52	.int8	52                              # DW_TAG_variable
53	.int8	0                               # DW_CHILDREN_no
54	.int8	3                               # DW_AT_name
55	.int8	14                              # DW_FORM_strp
56	.int8	73                              # DW_AT_type
57	.int8	19                              # DW_FORM_ref4
58	.int8	63                              # DW_AT_external
59	.int8	25                              # DW_FORM_flag_present
60	.int8	58                              # DW_AT_decl_file
61	.int8	11                              # DW_FORM_data1
62	.int8	59                              # DW_AT_decl_line
63	.int8	11                              # DW_FORM_data1
64	.int8	2                               # DW_AT_location
65	.int8	24                              # DW_FORM_exprloc
66	.int8	0                               # EOM(1)
67	.int8	0                               # EOM(2)
68	.int8	3                               # Abbreviation Code
69	.int8	19                              # DW_TAG_structure_type
70	.int8	1                               # DW_CHILDREN_yes
71	.int8	54                              # DW_AT_calling_convention
72	.int8	11                              # DW_FORM_data1
73	.int8	3                               # DW_AT_name
74	.int8	14                              # DW_FORM_strp
75	.int8	11                              # DW_AT_byte_size
76	.int8	11                              # DW_FORM_data1
77	.int8	58                              # DW_AT_decl_file
78	.int8	11                              # DW_FORM_data1
79	.int8	59                              # DW_AT_decl_line
80	.int8	11                              # DW_FORM_data1
81	.int8	0                               # EOM(1)
82	.int8	0                               # EOM(2)
83	.int8	4                               # Abbreviation Code
84	.int8	13                              # DW_TAG_member
85	.int8	0                               # DW_CHILDREN_no
86	.int8	3                               # DW_AT_name
87	.int8	14                              # DW_FORM_strp
88	.int8	73                              # DW_AT_type
89	.int8	19                              # DW_FORM_ref4
90	.int8	58                              # DW_AT_decl_file
91	.int8	11                              # DW_FORM_data1
92	.int8	59                              # DW_AT_decl_line
93	.int8	11                              # DW_FORM_data1
94	.int8	56                              # DW_AT_data_member_location
95	.int8	11                              # DW_FORM_data1
96	.int8	0                               # EOM(1)
97	.int8	0                               # EOM(2)
98	.int8	5                               # Abbreviation Code
99	.int8	23                              # DW_TAG_union_type
100	.int8	0                               # DW_CHILDREN_no
101	.int8	54                              # DW_AT_calling_convention
102	.int8	11                              # DW_FORM_data1
103	.int8	3                               # DW_AT_name
104	.int8	14                              # DW_FORM_strp
105	.int8	11                              # DW_AT_byte_size
106	.int8	11                              # DW_FORM_data1
107	.int8	58                              # DW_AT_decl_file
108	.int8	11                              # DW_FORM_data1
109	.int8	59                              # DW_AT_decl_line
110	.int8	11                              # DW_FORM_data1
111	.int8	0                               # EOM(1)
112	.int8	0                               # EOM(2)
113	.int8	6                               # Abbreviation Code
114	.int8	46                              # DW_TAG_subprogram
115	.int8	0                               # DW_CHILDREN_no
116	.int8	17                              # DW_AT_low_pc
117	.int8	1                               # DW_FORM_addr
118	.int8	18                              # DW_AT_high_pc
119	.int8	6                               # DW_FORM_data4
120	.int8	64                              # DW_AT_frame_base
121	.int8	24                              # DW_FORM_exprloc
122	.int8	110                             # DW_AT_linkage_name
123	.int8	14                              # DW_FORM_strp
124	.int8	3                               # DW_AT_name
125	.int8	14                              # DW_FORM_strp
126	.int8	58                              # DW_AT_decl_file
127	.int8	11                              # DW_FORM_data1
128	.int8	59                              # DW_AT_decl_line
129	.int8	11                              # DW_FORM_data1
130	.int8	73                              # DW_AT_type
131	.int8	19                              # DW_FORM_ref4
132	.int8	63                              # DW_AT_external
133	.int8	25                              # DW_FORM_flag_present
134	.int8	0                               # EOM(1)
135	.int8	0                               # EOM(2)
136	.int8	7                               # Abbreviation Code
137	.int8	36                              # DW_TAG_base_type
138	.int8	0                               # DW_CHILDREN_no
139	.int8	3                               # DW_AT_name
140	.int8	14                              # DW_FORM_strp
141	.int8	62                              # DW_AT_encoding
142	.int8	11                              # DW_FORM_data1
143	.int8	11                              # DW_AT_byte_size
144	.int8	11                              # DW_FORM_data1
145	.int8	0                               # EOM(1)
146	.int8	0                               # EOM(2)
147	.int8	0                               # EOM(3)
148	.section	.debug_info,"",@
149.Lcu_begin0:
150	.int32	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
151.Ldebug_info_start0:
152	.int16	4                               # DWARF version number
153	.int32	.debug_abbrev0                  # Offset Into Abbrev. Section
154	.int8	4                               # Address Size (in bytes)
155	.int8	1                               # Abbrev [1] 0xb:0x72 DW_TAG_compile_unit
156	.int32	.Linfo_string0                  # DW_AT_producer
157	.int16	33                              # DW_AT_language
158	.int32	.Linfo_string1                  # DW_AT_name
159	.int32	.Lline_table_start0             # DW_AT_stmt_list
160	.int32	.Linfo_string2                  # DW_AT_comp_dir
161	.int32	.Lfunc_begin0                   # DW_AT_low_pc
162	.int32	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc
163	.int8	2                               # Abbrev [2] 0x26:0x11 DW_TAG_variable
164	.int32	.Linfo_string3                  # DW_AT_name
165	.int32	55                              # DW_AT_type
166                                        # DW_AT_external
167	.int8	1                               # DW_AT_decl_file
168	.int8	8                               # DW_AT_decl_line
169	.int8	5                               # DW_AT_location
170	.int8	3
171	.int32	S
172	.int8	3                               # Abbrev [3] 0x37:0x1f DW_TAG_structure_type
173	.int8	5                               # DW_AT_calling_convention
174	.int32	.Linfo_string6                  # DW_AT_name
175	.int8	1                               # DW_AT_byte_size
176	.int8	1                               # DW_AT_decl_file
177	.int8	1                               # DW_AT_decl_line
178	.int8	4                               # Abbrev [4] 0x40:0xc DW_TAG_member
179	.int32	.Linfo_string4                  # DW_AT_name
180	.int32	76                              # DW_AT_type
181	.int8	1                               # DW_AT_decl_file
182	.int8	5                               # DW_AT_decl_line
183	.int8	0                               # DW_AT_data_member_location
184	.int8	5                               # Abbrev [5] 0x4c:0x9 DW_TAG_union_type
185	.int8	5                               # DW_AT_calling_convention
186	.int32	.Linfo_string5                  # DW_AT_name
187	.int8	1                               # DW_AT_byte_size
188	.int8	1                               # DW_AT_decl_file
189	.int8	2                               # DW_AT_decl_line
190	.int8	0                               # End Of Children Mark
191	.int8	6                               # Abbrev [6] 0x56:0x1f DW_TAG_subprogram
192	.int32	.Lfunc_begin0                   # DW_AT_low_pc
193	.int32	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc
194	.int8	7                               # DW_AT_frame_base
195	.int8	237
196	.int8	3
197	.int32	__stack_pointer
198	.int8	159
199	.int32	.Linfo_string7                  # DW_AT_linkage_name
200	.int32	.Linfo_string8                  # DW_AT_name
201	.int8	1                               # DW_AT_decl_file
202	.int8	9                               # DW_AT_decl_line
203	.int32	117                             # DW_AT_type
204                                        # DW_AT_external
205	.int8	7                               # Abbrev [7] 0x75:0x7 DW_TAG_base_type
206	.int32	.Linfo_string9                  # DW_AT_name
207	.int8	5                               # DW_AT_encoding
208	.int8	4                               # DW_AT_byte_size
209	.int8	0                               # End Of Children Mark
210.Ldebug_info_end0:
211	.section	.debug_str,"S",@
212.Linfo_string0:
213	.asciz	"clang version 19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)" # string offset=0
214.Linfo_string1:
215	.asciz	"pr-46466.cpp"                  # string offset=111
216.Linfo_string2:
217	.asciz	"/data/projects/scripts/regression-suite/input/general" # string offset=124
218.Linfo_string3:
219	.asciz	"S"                             # string offset=178
220.Linfo_string4:
221	.asciz	"U"                             # string offset=180
222.Linfo_string5:
223	.asciz	"Union"                         # string offset=182
224.Linfo_string6:
225	.asciz	"Struct"                        # string offset=188
226.Linfo_string7:
227	.asciz	"_Z4testv"                      # string offset=195
228.Linfo_string8:
229	.asciz	"test"                          # string offset=204
230.Linfo_string9:
231	.asciz	"int"                           # string offset=209
232	.ident	"clang version 19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)"
233	.section	.custom_section.producers,"",@
234	.int8	2
235	.int8	8
236	.ascii	"language"
237	.int8	1
238	.int8	14
239	.ascii	"C_plus_plus_14"
240	.int8	0
241	.int8	12
242	.ascii	"processed-by"
243	.int8	1
244	.int8	5
245	.ascii	"clang"
246	.int8	96
247	.ascii	"19.0.0git (/data/projects/llvm-root/llvm-project/clang 2db6703f0c257d293df455e2dff8c1fb695c4100)"
248	.section	.debug_str,"S",@
249	.section	.custom_section.target_features,"",@
250	.int8	2
251	.int8	43
252	.int8	15
253	.ascii	"mutable-globals"
254	.int8	43
255	.int8	8
256	.ascii	"sign-ext"
257	.section	.debug_str,"S",@
258	.section	.debug_line,"",@
259.Lline_table_start0:
260