Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / X86 / Inputs / dwarf5-split-dwarf4-monolithic-helper1.s
blob95809aabd3308ebab0e40a320512e05b4309ac1e
1 .text
2 .file "helper1.cpp"
3 .file 0 "." "helper1.cpp" md5 0xe6dbd773fdf80bfea332cdf8284cddce
4 .section .text._Z4foo1i,"ax",@progbits
5 .globl _Z4foo1i # -- Begin function _Z4foo1i
6 .p2align 4, 0x90
7 .type _Z4foo1i,@function
8 _Z4foo1i: # @_Z4foo1i
9 .Lfunc_begin0:
10 .loc 0 6 0 # helper1.cpp:6:0
11 .cfi_startproc
12 # %bb.0: # %entry
13 #DEBUG_VALUE: foo1:argc <- $edi
14 #DEBUG_VALUE: foo1:x <- $edi
15 # kill: def $edi killed $edi def $rdi
16 #DEBUG_VALUE: useFoo:x <- undef
17 .loc 0 3 6 prologue_end # helper1.cpp:3:6
18 leal 4(%rdi), %eax
19 .Ltmp0:
20 #DEBUG_VALUE: foo1:x <- $eax
21 .loc 0 9 4 # helper1.cpp:9:4
22 retq
23 .Ltmp1:
24 .Lfunc_end0:
25 .size _Z4foo1i, .Lfunc_end0-_Z4foo1i
26 .cfi_endproc
27 # -- End function
28 .type fooVar1,@object # @fooVar1
29 .bss
30 .globl fooVar1
31 .p2align 2
32 fooVar1:
33 .long 0 # 0x0
34 .size fooVar1, 4
36 .section .debug_loclists.dwo,"e",@progbits
37 .long .Ldebug_list_header_end0-.Ldebug_list_header_start0 # Length
38 .Ldebug_list_header_start0:
39 .short 5 # Version
40 .byte 8 # Address size
41 .byte 0 # Segment selector size
42 .long 1 # Offset entry count
43 .Lloclists_table_base0:
44 .long .Ldebug_loc0-.Lloclists_table_base0
45 .Ldebug_loc0:
46 .byte 1 # DW_LLE_base_addressx
47 .byte 1 # base address index
48 .byte 4 # DW_LLE_offset_pair
49 .uleb128 .Lfunc_begin0-.Lfunc_begin0 # starting offset
50 .uleb128 .Ltmp0-.Lfunc_begin0 # ending offset
51 .byte 1 # Loc expr size
52 .byte 85 # super-register DW_OP_reg5
53 .byte 4 # DW_LLE_offset_pair
54 .uleb128 .Ltmp0-.Lfunc_begin0 # starting offset
55 .uleb128 .Lfunc_end0-.Lfunc_begin0 # ending offset
56 .byte 1 # Loc expr size
57 .byte 80 # super-register DW_OP_reg0
58 .byte 0 # DW_LLE_end_of_list
59 .Ldebug_list_header_end0:
60 .section .debug_abbrev,"",@progbits
61 .byte 1 # Abbreviation Code
62 .byte 74 # DW_TAG_skeleton_unit
63 .byte 0 # DW_CHILDREN_no
64 .byte 16 # DW_AT_stmt_list
65 .byte 23 # DW_FORM_sec_offset
66 .byte 114 # DW_AT_str_offsets_base
67 .byte 23 # DW_FORM_sec_offset
68 .byte 27 # DW_AT_comp_dir
69 .byte 37 # DW_FORM_strx1
70 .ascii "\264B" # DW_AT_GNU_pubnames
71 .byte 25 # DW_FORM_flag_present
72 .byte 118 # DW_AT_dwo_name
73 .byte 37 # DW_FORM_strx1
74 .byte 17 # DW_AT_low_pc
75 .byte 27 # DW_FORM_addrx
76 .byte 18 # DW_AT_high_pc
77 .byte 6 # DW_FORM_data4
78 .byte 115 # DW_AT_addr_base
79 .byte 23 # DW_FORM_sec_offset
80 .byte 0 # EOM(1)
81 .byte 0 # EOM(2)
82 .byte 0 # EOM(3)
83 .section .debug_info,"",@progbits
84 .Lcu_begin0:
85 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
86 .Ldebug_info_start0:
87 .short 5 # DWARF version number
88 .byte 4 # DWARF Unit Type
89 .byte 8 # Address Size (in bytes)
90 .long .debug_abbrev # Offset Into Abbrev. Section
91 .quad 3067768330068978739
92 .byte 1 # Abbrev [1] 0x14:0x14 DW_TAG_skeleton_unit
93 .long .Lline_table_start0 # DW_AT_stmt_list
94 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
95 .byte 0 # DW_AT_comp_dir
96 # DW_AT_GNU_pubnames
97 .byte 1 # DW_AT_dwo_name
98 .byte 1 # DW_AT_low_pc
99 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
100 .long .Laddr_table_base0 # DW_AT_addr_base
101 .Ldebug_info_end0:
102 .section .debug_str_offsets,"",@progbits
103 .long 12 # Length of String Offsets Set
104 .short 5
105 .short 0
106 .Lstr_offsets_base0:
107 .section .debug_str,"MS",@progbits,1
108 .Lskel_string0:
109 .asciz "." # string offset=0
110 .Lskel_string1:
111 .asciz "helper1.dwo" # string offset=60
112 .section .debug_str_offsets,"",@progbits
113 .long .Lskel_string0
114 .long .Lskel_string1
115 .section .debug_str_offsets.dwo,"e",@progbits
116 .long 48 # Length of String Offsets Set
117 .short 5
118 .short 0
119 .section .debug_str.dwo,"eMS",@progbits,1
120 .Linfo_string0:
121 .asciz "fooVar1" # string offset=0
122 .Linfo_string1:
123 .asciz "int" # string offset=8
124 .Linfo_string2:
125 .asciz "_ZL6useFooPi" # string offset=12
126 .Linfo_string3:
127 .asciz "useFoo" # string offset=25
128 .Linfo_string4:
129 .asciz "x" # string offset=32
130 .Linfo_string5:
131 .asciz "_Z4foo1i" # string offset=34
132 .Linfo_string6:
133 .asciz "foo1" # string offset=43
134 .Linfo_string7:
135 .asciz "argc" # string offset=48
136 .Linfo_string8:
137 .asciz "clang version 15.0.0" # string offset=53
138 .Linfo_string9:
139 .asciz "helper1.cpp" # string offset=187
140 .Linfo_string10:
141 .asciz "helper1.dwo" # string offset=199
142 .section .debug_str_offsets.dwo,"e",@progbits
143 .long 0
144 .long 8
145 .long 12
146 .long 25
147 .long 32
148 .long 34
149 .long 43
150 .long 48
151 .long 53
152 .long 187
153 .long 199
154 .section .debug_info.dwo,"e",@progbits
155 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
156 .Ldebug_info_dwo_start0:
157 .short 5 # DWARF version number
158 .byte 5 # DWARF Unit Type
159 .byte 8 # Address Size (in bytes)
160 .long 0 # Offset Into Abbrev. Section
161 .quad 3067768330068978739
162 .byte 1 # Abbrev [1] 0x14:0x5a DW_TAG_compile_unit
163 .byte 8 # DW_AT_producer
164 .short 33 # DW_AT_language
165 .byte 9 # DW_AT_name
166 .byte 10 # DW_AT_dwo_name
167 .byte 2 # Abbrev [2] 0x1a:0xb DW_TAG_variable
168 .byte 0 # DW_AT_name
169 .long 37 # DW_AT_type
170 # DW_AT_external
171 .byte 0 # DW_AT_decl_file
172 .byte 1 # DW_AT_decl_line
173 .byte 2 # DW_AT_location
174 .byte 161
175 .byte 0
176 .byte 3 # Abbrev [3] 0x25:0x4 DW_TAG_base_type
177 .byte 1 # DW_AT_name
178 .byte 5 # DW_AT_encoding
179 .byte 4 # DW_AT_byte_size
180 .byte 4 # Abbrev [4] 0x29:0xe DW_TAG_subprogram
181 .byte 2 # DW_AT_linkage_name
182 .byte 3 # DW_AT_name
183 .byte 0 # DW_AT_decl_file
184 .byte 2 # DW_AT_decl_line
185 # DW_AT_inline
186 .byte 5 # Abbrev [5] 0x2e:0x8 DW_TAG_formal_parameter
187 .byte 4 # DW_AT_name
188 .byte 0 # DW_AT_decl_file
189 .byte 2 # DW_AT_decl_line
190 .long 55 # DW_AT_type
191 .byte 0 # End Of Children Mark
192 .byte 6 # Abbrev [6] 0x37:0x5 DW_TAG_pointer_type
193 .long 37 # DW_AT_type
194 .byte 7 # Abbrev [7] 0x3c:0x31 DW_TAG_subprogram
195 .byte 1 # DW_AT_low_pc
196 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
197 .byte 1 # DW_AT_frame_base
198 .byte 87
199 # DW_AT_call_all_calls
200 .byte 5 # DW_AT_linkage_name
201 .byte 6 # DW_AT_name
202 .byte 0 # DW_AT_decl_file
203 .byte 6 # DW_AT_decl_line
204 .long 37 # DW_AT_type
205 # DW_AT_external
206 .byte 8 # Abbrev [8] 0x4c:0xa DW_TAG_formal_parameter
207 .byte 1 # DW_AT_location
208 .byte 85
209 .byte 7 # DW_AT_name
210 .byte 0 # DW_AT_decl_file
211 .byte 6 # DW_AT_decl_line
212 .long 37 # DW_AT_type
213 .byte 9 # Abbrev [9] 0x56:0x9 DW_TAG_variable
214 .byte 0 # DW_AT_location
215 .byte 4 # DW_AT_name
216 .byte 0 # DW_AT_decl_file
217 .byte 7 # DW_AT_decl_line
218 .long 37 # DW_AT_type
219 .byte 10 # Abbrev [10] 0x5f:0xd DW_TAG_inlined_subroutine
220 .long 41 # DW_AT_abstract_origin
221 .byte 1 # DW_AT_low_pc
222 .long .Ltmp0-.Lfunc_begin0 # DW_AT_high_pc
223 .byte 0 # DW_AT_call_file
224 .byte 8 # DW_AT_call_line
225 .byte 4 # DW_AT_call_column
226 .byte 0 # End Of Children Mark
227 .byte 0 # End Of Children Mark
228 .Ldebug_info_dwo_end0:
229 .section .debug_abbrev.dwo,"e",@progbits
230 .byte 1 # Abbreviation Code
231 .byte 17 # DW_TAG_compile_unit
232 .byte 1 # DW_CHILDREN_yes
233 .byte 37 # DW_AT_producer
234 .byte 37 # DW_FORM_strx1
235 .byte 19 # DW_AT_language
236 .byte 5 # DW_FORM_data2
237 .byte 3 # DW_AT_name
238 .byte 37 # DW_FORM_strx1
239 .byte 118 # DW_AT_dwo_name
240 .byte 37 # DW_FORM_strx1
241 .byte 0 # EOM(1)
242 .byte 0 # EOM(2)
243 .byte 2 # Abbreviation Code
244 .byte 52 # DW_TAG_variable
245 .byte 0 # DW_CHILDREN_no
246 .byte 3 # DW_AT_name
247 .byte 37 # DW_FORM_strx1
248 .byte 73 # DW_AT_type
249 .byte 19 # DW_FORM_ref4
250 .byte 63 # DW_AT_external
251 .byte 25 # DW_FORM_flag_present
252 .byte 58 # DW_AT_decl_file
253 .byte 11 # DW_FORM_data1
254 .byte 59 # DW_AT_decl_line
255 .byte 11 # DW_FORM_data1
256 .byte 2 # DW_AT_location
257 .byte 24 # DW_FORM_exprloc
258 .byte 0 # EOM(1)
259 .byte 0 # EOM(2)
260 .byte 3 # Abbreviation Code
261 .byte 36 # DW_TAG_base_type
262 .byte 0 # DW_CHILDREN_no
263 .byte 3 # DW_AT_name
264 .byte 37 # DW_FORM_strx1
265 .byte 62 # DW_AT_encoding
266 .byte 11 # DW_FORM_data1
267 .byte 11 # DW_AT_byte_size
268 .byte 11 # DW_FORM_data1
269 .byte 0 # EOM(1)
270 .byte 0 # EOM(2)
271 .byte 4 # Abbreviation Code
272 .byte 46 # DW_TAG_subprogram
273 .byte 1 # DW_CHILDREN_yes
274 .byte 110 # DW_AT_linkage_name
275 .byte 37 # DW_FORM_strx1
276 .byte 3 # DW_AT_name
277 .byte 37 # DW_FORM_strx1
278 .byte 58 # DW_AT_decl_file
279 .byte 11 # DW_FORM_data1
280 .byte 59 # DW_AT_decl_line
281 .byte 11 # DW_FORM_data1
282 .byte 32 # DW_AT_inline
283 .byte 33 # DW_FORM_implicit_const
284 .byte 1
285 .byte 0 # EOM(1)
286 .byte 0 # EOM(2)
287 .byte 5 # Abbreviation Code
288 .byte 5 # DW_TAG_formal_parameter
289 .byte 0 # DW_CHILDREN_no
290 .byte 3 # DW_AT_name
291 .byte 37 # DW_FORM_strx1
292 .byte 58 # DW_AT_decl_file
293 .byte 11 # DW_FORM_data1
294 .byte 59 # DW_AT_decl_line
295 .byte 11 # DW_FORM_data1
296 .byte 73 # DW_AT_type
297 .byte 19 # DW_FORM_ref4
298 .byte 0 # EOM(1)
299 .byte 0 # EOM(2)
300 .byte 6 # Abbreviation Code
301 .byte 15 # DW_TAG_pointer_type
302 .byte 0 # DW_CHILDREN_no
303 .byte 73 # DW_AT_type
304 .byte 19 # DW_FORM_ref4
305 .byte 0 # EOM(1)
306 .byte 0 # EOM(2)
307 .byte 7 # Abbreviation Code
308 .byte 46 # DW_TAG_subprogram
309 .byte 1 # DW_CHILDREN_yes
310 .byte 17 # DW_AT_low_pc
311 .byte 27 # DW_FORM_addrx
312 .byte 18 # DW_AT_high_pc
313 .byte 6 # DW_FORM_data4
314 .byte 64 # DW_AT_frame_base
315 .byte 24 # DW_FORM_exprloc
316 .byte 122 # DW_AT_call_all_calls
317 .byte 25 # DW_FORM_flag_present
318 .byte 110 # DW_AT_linkage_name
319 .byte 37 # DW_FORM_strx1
320 .byte 3 # DW_AT_name
321 .byte 37 # DW_FORM_strx1
322 .byte 58 # DW_AT_decl_file
323 .byte 11 # DW_FORM_data1
324 .byte 59 # DW_AT_decl_line
325 .byte 11 # DW_FORM_data1
326 .byte 73 # DW_AT_type
327 .byte 19 # DW_FORM_ref4
328 .byte 63 # DW_AT_external
329 .byte 25 # DW_FORM_flag_present
330 .byte 0 # EOM(1)
331 .byte 0 # EOM(2)
332 .byte 8 # Abbreviation Code
333 .byte 5 # DW_TAG_formal_parameter
334 .byte 0 # DW_CHILDREN_no
335 .byte 2 # DW_AT_location
336 .byte 24 # DW_FORM_exprloc
337 .byte 3 # DW_AT_name
338 .byte 37 # DW_FORM_strx1
339 .byte 58 # DW_AT_decl_file
340 .byte 11 # DW_FORM_data1
341 .byte 59 # DW_AT_decl_line
342 .byte 11 # DW_FORM_data1
343 .byte 73 # DW_AT_type
344 .byte 19 # DW_FORM_ref4
345 .byte 0 # EOM(1)
346 .byte 0 # EOM(2)
347 .byte 9 # Abbreviation Code
348 .byte 52 # DW_TAG_variable
349 .byte 0 # DW_CHILDREN_no
350 .byte 2 # DW_AT_location
351 .byte 34 # DW_FORM_loclistx
352 .byte 3 # DW_AT_name
353 .byte 37 # DW_FORM_strx1
354 .byte 58 # DW_AT_decl_file
355 .byte 11 # DW_FORM_data1
356 .byte 59 # DW_AT_decl_line
357 .byte 11 # DW_FORM_data1
358 .byte 73 # DW_AT_type
359 .byte 19 # DW_FORM_ref4
360 .byte 0 # EOM(1)
361 .byte 0 # EOM(2)
362 .byte 10 # Abbreviation Code
363 .byte 29 # DW_TAG_inlined_subroutine
364 .byte 0 # DW_CHILDREN_no
365 .byte 49 # DW_AT_abstract_origin
366 .byte 19 # DW_FORM_ref4
367 .byte 17 # DW_AT_low_pc
368 .byte 27 # DW_FORM_addrx
369 .byte 18 # DW_AT_high_pc
370 .byte 6 # DW_FORM_data4
371 .byte 88 # DW_AT_call_file
372 .byte 11 # DW_FORM_data1
373 .byte 89 # DW_AT_call_line
374 .byte 11 # DW_FORM_data1
375 .byte 87 # DW_AT_call_column
376 .byte 11 # DW_FORM_data1
377 .byte 0 # EOM(1)
378 .byte 0 # EOM(2)
379 .byte 0 # EOM(3)
380 .section .debug_addr,"",@progbits
381 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
382 .Ldebug_addr_start0:
383 .short 5 # DWARF version number
384 .byte 8 # Address size
385 .byte 0 # Segment selector size
386 .Laddr_table_base0:
387 .quad fooVar1
388 .quad .Lfunc_begin0
389 .Ldebug_addr_end0:
390 .section .debug_gnu_pubnames,"",@progbits
391 .long .LpubNames_end0-.LpubNames_start0 # Length of Public Names Info
392 .LpubNames_start0:
393 .short 2 # DWARF Version
394 .long .Lcu_begin0 # Offset of Compilation Unit Info
395 .long 40 # Compilation Unit Length
396 .long 41 # DIE offset
397 .byte 176 # Attributes: FUNCTION, STATIC
398 .asciz "useFoo" # External Name
399 .long 60 # DIE offset
400 .byte 48 # Attributes: FUNCTION, EXTERNAL
401 .asciz "foo1" # External Name
402 .long 26 # DIE offset
403 .byte 32 # Attributes: VARIABLE, EXTERNAL
404 .asciz "fooVar1" # External Name
405 .long 0 # End Mark
406 .LpubNames_end0:
407 .section .debug_gnu_pubtypes,"",@progbits
408 .long .LpubTypes_end0-.LpubTypes_start0 # Length of Public Types Info
409 .LpubTypes_start0:
410 .short 2 # DWARF Version
411 .long .Lcu_begin0 # Offset of Compilation Unit Info
412 .long 40 # Compilation Unit Length
413 .long 37 # DIE offset
414 .byte 144 # Attributes: TYPE, STATIC
415 .asciz "int" # External Name
416 .long 0 # End Mark
417 .LpubTypes_end0:
418 .ident "clang version 15.0.0"
419 .section ".note.GNU-stack","",@progbits
420 .addrsig
421 .section .debug_line,"",@progbits
422 .Lline_table_start0: