Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / X86 / Inputs / dwarf5-dwarf4-monolithic-helper1.s
blobe37e29d474d909520f526d65e37314adbec5e43a
1 .text
2 .file "helper1.cpp"
3 .file 0 "/test" "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,"",@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 4 # DW_LLE_offset_pair
47 .uleb128 .Lfunc_begin0-.Lfunc_begin0 # starting offset
48 .uleb128 .Ltmp0-.Lfunc_begin0 # ending offset
49 .byte 1 # Loc expr size
50 .byte 85 # super-register DW_OP_reg5
51 .byte 4 # DW_LLE_offset_pair
52 .uleb128 .Ltmp0-.Lfunc_begin0 # starting offset
53 .uleb128 .Lfunc_end0-.Lfunc_begin0 # ending offset
54 .byte 1 # Loc expr size
55 .byte 80 # super-register DW_OP_reg0
56 .byte 0 # DW_LLE_end_of_list
57 .Ldebug_list_header_end0:
58 .section .debug_abbrev,"",@progbits
59 .byte 1 # Abbreviation Code
60 .byte 17 # DW_TAG_compile_unit
61 .byte 1 # DW_CHILDREN_yes
62 .byte 37 # DW_AT_producer
63 .byte 37 # DW_FORM_strx1
64 .byte 19 # DW_AT_language
65 .byte 5 # DW_FORM_data2
66 .byte 3 # DW_AT_name
67 .byte 37 # DW_FORM_strx1
68 .byte 114 # DW_AT_str_offsets_base
69 .byte 23 # DW_FORM_sec_offset
70 .byte 16 # DW_AT_stmt_list
71 .byte 23 # DW_FORM_sec_offset
72 .byte 27 # DW_AT_comp_dir
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 .ascii "\214\001" # DW_AT_loclists_base
81 .byte 23 # DW_FORM_sec_offset
82 .byte 0 # EOM(1)
83 .byte 0 # EOM(2)
84 .byte 2 # Abbreviation Code
85 .byte 52 # DW_TAG_variable
86 .byte 0 # DW_CHILDREN_no
87 .byte 3 # DW_AT_name
88 .byte 37 # DW_FORM_strx1
89 .byte 73 # DW_AT_type
90 .byte 19 # DW_FORM_ref4
91 .byte 63 # DW_AT_external
92 .byte 25 # DW_FORM_flag_present
93 .byte 58 # DW_AT_decl_file
94 .byte 11 # DW_FORM_data1
95 .byte 59 # DW_AT_decl_line
96 .byte 11 # DW_FORM_data1
97 .byte 2 # DW_AT_location
98 .byte 24 # DW_FORM_exprloc
99 .byte 0 # EOM(1)
100 .byte 0 # EOM(2)
101 .byte 3 # Abbreviation Code
102 .byte 36 # DW_TAG_base_type
103 .byte 0 # DW_CHILDREN_no
104 .byte 3 # DW_AT_name
105 .byte 37 # DW_FORM_strx1
106 .byte 62 # DW_AT_encoding
107 .byte 11 # DW_FORM_data1
108 .byte 11 # DW_AT_byte_size
109 .byte 11 # DW_FORM_data1
110 .byte 0 # EOM(1)
111 .byte 0 # EOM(2)
112 .byte 4 # Abbreviation Code
113 .byte 46 # DW_TAG_subprogram
114 .byte 1 # DW_CHILDREN_yes
115 .byte 110 # DW_AT_linkage_name
116 .byte 37 # DW_FORM_strx1
117 .byte 3 # DW_AT_name
118 .byte 37 # DW_FORM_strx1
119 .byte 58 # DW_AT_decl_file
120 .byte 11 # DW_FORM_data1
121 .byte 59 # DW_AT_decl_line
122 .byte 11 # DW_FORM_data1
123 .byte 32 # DW_AT_inline
124 .byte 33 # DW_FORM_implicit_const
125 .byte 1
126 .byte 0 # EOM(1)
127 .byte 0 # EOM(2)
128 .byte 5 # Abbreviation Code
129 .byte 5 # DW_TAG_formal_parameter
130 .byte 0 # DW_CHILDREN_no
131 .byte 3 # DW_AT_name
132 .byte 37 # DW_FORM_strx1
133 .byte 58 # DW_AT_decl_file
134 .byte 11 # DW_FORM_data1
135 .byte 59 # DW_AT_decl_line
136 .byte 11 # DW_FORM_data1
137 .byte 73 # DW_AT_type
138 .byte 19 # DW_FORM_ref4
139 .byte 0 # EOM(1)
140 .byte 0 # EOM(2)
141 .byte 6 # Abbreviation Code
142 .byte 15 # DW_TAG_pointer_type
143 .byte 0 # DW_CHILDREN_no
144 .byte 73 # DW_AT_type
145 .byte 19 # DW_FORM_ref4
146 .byte 0 # EOM(1)
147 .byte 0 # EOM(2)
148 .byte 7 # Abbreviation Code
149 .byte 46 # DW_TAG_subprogram
150 .byte 1 # DW_CHILDREN_yes
151 .byte 17 # DW_AT_low_pc
152 .byte 27 # DW_FORM_addrx
153 .byte 18 # DW_AT_high_pc
154 .byte 6 # DW_FORM_data4
155 .byte 64 # DW_AT_frame_base
156 .byte 24 # DW_FORM_exprloc
157 .byte 122 # DW_AT_call_all_calls
158 .byte 25 # DW_FORM_flag_present
159 .byte 110 # DW_AT_linkage_name
160 .byte 37 # DW_FORM_strx1
161 .byte 3 # DW_AT_name
162 .byte 37 # DW_FORM_strx1
163 .byte 58 # DW_AT_decl_file
164 .byte 11 # DW_FORM_data1
165 .byte 59 # DW_AT_decl_line
166 .byte 11 # DW_FORM_data1
167 .byte 73 # DW_AT_type
168 .byte 19 # DW_FORM_ref4
169 .byte 63 # DW_AT_external
170 .byte 25 # DW_FORM_flag_present
171 .byte 0 # EOM(1)
172 .byte 0 # EOM(2)
173 .byte 8 # Abbreviation Code
174 .byte 5 # DW_TAG_formal_parameter
175 .byte 0 # DW_CHILDREN_no
176 .byte 2 # DW_AT_location
177 .byte 24 # DW_FORM_exprloc
178 .byte 3 # DW_AT_name
179 .byte 37 # DW_FORM_strx1
180 .byte 58 # DW_AT_decl_file
181 .byte 11 # DW_FORM_data1
182 .byte 59 # DW_AT_decl_line
183 .byte 11 # DW_FORM_data1
184 .byte 73 # DW_AT_type
185 .byte 19 # DW_FORM_ref4
186 .byte 0 # EOM(1)
187 .byte 0 # EOM(2)
188 .byte 9 # Abbreviation Code
189 .byte 52 # DW_TAG_variable
190 .byte 0 # DW_CHILDREN_no
191 .byte 2 # DW_AT_location
192 .byte 34 # DW_FORM_loclistx
193 .byte 3 # DW_AT_name
194 .byte 37 # DW_FORM_strx1
195 .byte 58 # DW_AT_decl_file
196 .byte 11 # DW_FORM_data1
197 .byte 59 # DW_AT_decl_line
198 .byte 11 # DW_FORM_data1
199 .byte 73 # DW_AT_type
200 .byte 19 # DW_FORM_ref4
201 .byte 0 # EOM(1)
202 .byte 0 # EOM(2)
203 .byte 10 # Abbreviation Code
204 .byte 29 # DW_TAG_inlined_subroutine
205 .byte 0 # DW_CHILDREN_no
206 .byte 49 # DW_AT_abstract_origin
207 .byte 19 # DW_FORM_ref4
208 .byte 17 # DW_AT_low_pc
209 .byte 27 # DW_FORM_addrx
210 .byte 18 # DW_AT_high_pc
211 .byte 6 # DW_FORM_data4
212 .byte 88 # DW_AT_call_file
213 .byte 11 # DW_FORM_data1
214 .byte 89 # DW_AT_call_line
215 .byte 11 # DW_FORM_data1
216 .byte 87 # DW_AT_call_column
217 .byte 11 # DW_FORM_data1
218 .byte 0 # EOM(1)
219 .byte 0 # EOM(2)
220 .byte 0 # EOM(3)
221 .section .debug_info,"",@progbits
222 .Lcu_begin0:
223 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
224 .Ldebug_info_start0:
225 .short 5 # DWARF version number
226 .byte 1 # DWARF Unit Type
227 .byte 8 # Address Size (in bytes)
228 .long .debug_abbrev # Offset Into Abbrev. Section
229 .byte 1 # Abbrev [1] 0xc:0x6f DW_TAG_compile_unit
230 .byte 0 # DW_AT_producer
231 .short 33 # DW_AT_language
232 .byte 1 # DW_AT_name
233 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
234 .long .Lline_table_start0 # DW_AT_stmt_list
235 .byte 2 # DW_AT_comp_dir
236 .byte 1 # DW_AT_low_pc
237 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
238 .long .Laddr_table_base0 # DW_AT_addr_base
239 .long .Lloclists_table_base0 # DW_AT_loclists_base
240 .byte 2 # Abbrev [2] 0x27:0xb DW_TAG_variable
241 .byte 3 # DW_AT_name
242 .long 50 # DW_AT_type
243 # DW_AT_external
244 .byte 0 # DW_AT_decl_file
245 .byte 1 # DW_AT_decl_line
246 .byte 2 # DW_AT_location
247 .byte 161
248 .byte 0
249 .byte 3 # Abbrev [3] 0x32:0x4 DW_TAG_base_type
250 .byte 4 # DW_AT_name
251 .byte 5 # DW_AT_encoding
252 .byte 4 # DW_AT_byte_size
253 .byte 4 # Abbrev [4] 0x36:0xe DW_TAG_subprogram
254 .byte 5 # DW_AT_linkage_name
255 .byte 6 # DW_AT_name
256 .byte 0 # DW_AT_decl_file
257 .byte 2 # DW_AT_decl_line
258 # DW_AT_inline
259 .byte 5 # Abbrev [5] 0x3b:0x8 DW_TAG_formal_parameter
260 .byte 7 # DW_AT_name
261 .byte 0 # DW_AT_decl_file
262 .byte 2 # DW_AT_decl_line
263 .long 68 # DW_AT_type
264 .byte 0 # End Of Children Mark
265 .byte 6 # Abbrev [6] 0x44:0x5 DW_TAG_pointer_type
266 .long 50 # DW_AT_type
267 .byte 7 # Abbrev [7] 0x49:0x31 DW_TAG_subprogram
268 .byte 1 # DW_AT_low_pc
269 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
270 .byte 1 # DW_AT_frame_base
271 .byte 87
272 # DW_AT_call_all_calls
273 .byte 8 # DW_AT_linkage_name
274 .byte 9 # DW_AT_name
275 .byte 0 # DW_AT_decl_file
276 .byte 6 # DW_AT_decl_line
277 .long 50 # DW_AT_type
278 # DW_AT_external
279 .byte 8 # Abbrev [8] 0x59:0xa DW_TAG_formal_parameter
280 .byte 1 # DW_AT_location
281 .byte 85
282 .byte 10 # DW_AT_name
283 .byte 0 # DW_AT_decl_file
284 .byte 6 # DW_AT_decl_line
285 .long 50 # DW_AT_type
286 .byte 9 # Abbrev [9] 0x63:0x9 DW_TAG_variable
287 .byte 0 # DW_AT_location
288 .byte 7 # DW_AT_name
289 .byte 0 # DW_AT_decl_file
290 .byte 7 # DW_AT_decl_line
291 .long 50 # DW_AT_type
292 .byte 10 # Abbrev [10] 0x6c:0xd DW_TAG_inlined_subroutine
293 .long 54 # DW_AT_abstract_origin
294 .byte 1 # DW_AT_low_pc
295 .long .Ltmp0-.Lfunc_begin0 # DW_AT_high_pc
296 .byte 0 # DW_AT_call_file
297 .byte 8 # DW_AT_call_line
298 .byte 4 # DW_AT_call_column
299 .byte 0 # End Of Children Mark
300 .byte 0 # End Of Children Mark
301 .Ldebug_info_end0:
302 .section .debug_str_offsets,"",@progbits
303 .long 48 # Length of String Offsets Set
304 .short 5
305 .short 0
306 .Lstr_offsets_base0:
307 .section .debug_str,"MS",@progbits,1
308 .Linfo_string0:
309 .asciz "clang version 15.0.0" # string offset=0
310 .Linfo_string1:
311 .asciz "helper1.cpp" # string offset=134
312 .Linfo_string2:
313 .asciz "/test" # string offset=146
314 .Linfo_string3:
315 .asciz "fooVar1" # string offset=201
316 .Linfo_string4:
317 .asciz "int" # string offset=209
318 .Linfo_string5:
319 .asciz "_ZL6useFooPi" # string offset=213
320 .Linfo_string6:
321 .asciz "useFoo" # string offset=226
322 .Linfo_string7:
323 .asciz "x" # string offset=233
324 .Linfo_string8:
325 .asciz "_Z4foo1i" # string offset=235
326 .Linfo_string9:
327 .asciz "foo1" # string offset=244
328 .Linfo_string10:
329 .asciz "argc" # string offset=249
330 .section .debug_str_offsets,"",@progbits
331 .long .Linfo_string0
332 .long .Linfo_string1
333 .long .Linfo_string2
334 .long .Linfo_string3
335 .long .Linfo_string4
336 .long .Linfo_string5
337 .long .Linfo_string6
338 .long .Linfo_string7
339 .long .Linfo_string8
340 .long .Linfo_string9
341 .long .Linfo_string10
342 .section .debug_addr,"",@progbits
343 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
344 .Ldebug_addr_start0:
345 .short 5 # DWARF version number
346 .byte 8 # Address size
347 .byte 0 # Segment selector size
348 .Laddr_table_base0:
349 .quad fooVar1
350 .quad .Lfunc_begin0
351 .Ldebug_addr_end0:
352 .ident "clang version 15.0.0"
353 .section ".note.GNU-stack","",@progbits
354 .addrsig
355 .section .debug_line,"",@progbits
356 .Lline_table_start0: