2 # void useFoo(int * x) {
13 .file 0 "." "helper.cpp" md5 0xf1508be63cfcbaf913e2dfef3cd5bccc
14 .globl _Z6useFooPi # -- Begin function _Z6useFooPi
16 .type _Z6useFooPi,@function
17 _Z6useFooPi
: # @_Z6useFooPi
19 .loc 0 2 0 # helper.cpp:2:0
22 #DEBUG_VALUE: useFoo:x <- $rdi
23 .loc 0 3 5 prologue_end # helper.cpp:3:5
25 .loc 0 4 2 # helper.cpp:4:2
29 .size _Z6useFooPi, .Lfunc_end0-_Z6useFooPi
32 .globl _Z3fooi # -- Begin function _Z3fooi
34 .type _Z3fooi,@function
37 .loc 0 6 0 # helper.cpp:6:0
40 #DEBUG_VALUE: foo:argc <- $edi
41 #DEBUG_VALUE: foo:x <- $edi
42 # kill: def $edi killed $edi def $rdi
43 #DEBUG_VALUE: useFoo:x <- undef
44 .loc 0 3 5 prologue_end # helper.cpp:3:5
47 #DEBUG_VALUE: foo:x <- $eax
48 .loc 0 9 5 # helper.cpp:9:5
52 .size _Z3fooi, .Lfunc_end1-_Z3fooi
55 .type fooVar,@object # @fooVar
63 .section .debug_loclists,"",@progbits
64 .long .Ldebug_list_header_end0-.Ldebug_list_header_start0 # Length
65 .Ldebug_list_header_start0:
67 .byte 8 # Address size
68 .byte 0 # Segment selector size
69 .long 1 # Offset entry count
70 .Lloclists_table_base0:
71 .long .Ldebug_loc0-.Lloclists_table_base0
73 .byte 4 # DW_LLE_offset_pair
74 .uleb128 .Lfunc_begin1-.Lfunc_begin0 # starting offset
75 .uleb128 .Ltmp1-.Lfunc_begin0 # ending offset
76 .byte 1 # Loc expr size
77 .byte 85 # super-register DW_OP_reg5
78 .byte 4 # DW_LLE_offset_pair
79 .uleb128 .Ltmp1-.Lfunc_begin0 # starting offset
80 .uleb128 .Lfunc_end1-.Lfunc_begin0 # ending offset
81 .byte 1 # Loc expr size
82 .byte 80 # super-register DW_OP_reg0
83 .byte 0 # DW_LLE_end_of_list
84 .Ldebug_list_header_end0:
85 .section .debug_abbrev,"",@progbits
86 .byte 1 # Abbreviation Code
87 .byte 17 # DW_TAG_compile_unit
88 .byte 1 # DW_CHILDREN_yes
89 .byte 37 # DW_AT_producer
90 .byte 37 # DW_FORM_strx1
91 .byte 19 # DW_AT_language
92 .byte 5 # DW_FORM_data2
94 .byte 37 # DW_FORM_strx1
95 .byte 114 # DW_AT_str_offsets_base
96 .byte 23 # DW_FORM_sec_offset
97 .byte 16 # DW_AT_stmt_list
98 .byte 23 # DW_FORM_sec_offset
99 .byte 27 # DW_AT_comp_dir
100 .byte 37 # DW_FORM_strx1
101 .byte 17 # DW_AT_low_pc
102 .byte 27 # DW_FORM_addrx
103 .byte 18 # DW_AT_high_pc
104 .byte 6 # DW_FORM_data4
105 .byte 115 # DW_AT_addr_base
106 .byte 23 # DW_FORM_sec_offset
109 .byte 2 # Abbreviation Code
110 .byte 52 # DW_TAG_variable
111 .byte 0 # DW_CHILDREN_no
113 .byte 37 # DW_FORM_strx1
114 .byte 73 # DW_AT_type
115 .byte 19 # DW_FORM_ref4
116 .byte 63 # DW_AT_external
117 .byte 25 # DW_FORM_flag_present
118 .byte 58 # DW_AT_decl_file
119 .byte 11 # DW_FORM_data1
120 .byte 59 # DW_AT_decl_line
121 .byte 11 # DW_FORM_data1
122 .byte 2 # DW_AT_location
123 .byte 24 # DW_FORM_exprloc
126 .byte 3 # Abbreviation Code
127 .byte 36 # DW_TAG_base_type
128 .byte 0 # DW_CHILDREN_no
130 .byte 37 # DW_FORM_strx1
131 .byte 62 # DW_AT_encoding
132 .byte 11 # DW_FORM_data1
133 .byte 11 # DW_AT_byte_size
134 .byte 11 # DW_FORM_data1
137 .byte 4 # Abbreviation Code
138 .byte 46 # DW_TAG_subprogram
139 .byte 1 # DW_CHILDREN_yes
140 .byte 17 # DW_AT_low_pc
141 .byte 27 # DW_FORM_addrx
142 .byte 18 # DW_AT_high_pc
143 .byte 6 # DW_FORM_data4
144 .byte 64 # DW_AT_frame_base
145 .byte 24 # DW_FORM_exprloc
146 .byte 122 # DW_AT_call_all_calls
147 .byte 25 # DW_FORM_flag_present
148 .byte 49 # DW_AT_abstract_origin
149 .byte 19 # DW_FORM_ref4
152 .byte 5 # Abbreviation Code
153 .byte 5 # DW_TAG_formal_parameter
154 .byte 0 # DW_CHILDREN_no
155 .byte 2 # DW_AT_location
156 .byte 24 # DW_FORM_exprloc
157 .byte 49 # DW_AT_abstract_origin
158 .byte 19 # DW_FORM_ref4
161 .byte 6 # Abbreviation Code
162 .byte 46 # DW_TAG_subprogram
163 .byte 1 # DW_CHILDREN_yes
164 .byte 110 # DW_AT_linkage_name
165 .byte 37 # DW_FORM_strx1
167 .byte 37 # DW_FORM_strx1
168 .byte 58 # DW_AT_decl_file
169 .byte 11 # DW_FORM_data1
170 .byte 59 # DW_AT_decl_line
171 .byte 11 # DW_FORM_data1
172 .byte 63 # DW_AT_external
173 .byte 25 # DW_FORM_flag_present
174 .byte 32 # DW_AT_inline
175 .byte 33 # DW_FORM_implicit_const
179 .byte 7 # Abbreviation Code
180 .byte 5 # DW_TAG_formal_parameter
181 .byte 0 # DW_CHILDREN_no
183 .byte 37 # DW_FORM_strx1
184 .byte 58 # DW_AT_decl_file
185 .byte 11 # DW_FORM_data1
186 .byte 59 # DW_AT_decl_line
187 .byte 11 # DW_FORM_data1
188 .byte 73 # DW_AT_type
189 .byte 19 # DW_FORM_ref4
192 .byte 8 # Abbreviation Code
193 .byte 15 # DW_TAG_pointer_type
194 .byte 0 # DW_CHILDREN_no
195 .byte 73 # DW_AT_type
196 .byte 19 # DW_FORM_ref4
199 .byte 9 # Abbreviation Code
200 .byte 46 # DW_TAG_subprogram
201 .byte 1 # DW_CHILDREN_yes
202 .byte 17 # DW_AT_low_pc
203 .byte 27 # DW_FORM_addrx
204 .byte 18 # DW_AT_high_pc
205 .byte 6 # DW_FORM_data4
206 .byte 64 # DW_AT_frame_base
207 .byte 24 # DW_FORM_exprloc
208 .byte 122 # DW_AT_call_all_calls
209 .byte 25 # DW_FORM_flag_present
210 .byte 110 # DW_AT_linkage_name
211 .byte 37 # DW_FORM_strx1
213 .byte 37 # DW_FORM_strx1
214 .byte 58 # DW_AT_decl_file
215 .byte 11 # DW_FORM_data1
216 .byte 59 # DW_AT_decl_line
217 .byte 11 # DW_FORM_data1
218 .byte 73 # DW_AT_type
219 .byte 19 # DW_FORM_ref4
220 .byte 63 # DW_AT_external
221 .byte 25 # DW_FORM_flag_present
224 .byte 10 # Abbreviation Code
225 .byte 5 # DW_TAG_formal_parameter
226 .byte 0 # DW_CHILDREN_no
227 .byte 2 # DW_AT_location
228 .byte 24 # DW_FORM_exprloc
230 .byte 37 # DW_FORM_strx1
231 .byte 58 # DW_AT_decl_file
232 .byte 11 # DW_FORM_data1
233 .byte 59 # DW_AT_decl_line
234 .byte 11 # DW_FORM_data1
235 .byte 73 # DW_AT_type
236 .byte 19 # DW_FORM_ref4
239 .byte 11 # Abbreviation Code
240 .byte 52 # DW_TAG_variable
241 .byte 0 # DW_CHILDREN_no
242 .byte 2 # DW_AT_location
243 .byte 23 # DW_FORM_sec_offset
245 .byte 37 # DW_FORM_strx1
246 .byte 58 # DW_AT_decl_file
247 .byte 11 # DW_FORM_data1
248 .byte 59 # DW_AT_decl_line
249 .byte 11 # DW_FORM_data1
250 .byte 73 # DW_AT_type
251 .byte 19 # DW_FORM_ref4
254 .byte 12 # Abbreviation Code
255 .byte 29 # DW_TAG_inlined_subroutine
256 .byte 0 # DW_CHILDREN_no
257 .byte 49 # DW_AT_abstract_origin
258 .byte 19 # DW_FORM_ref4
259 .byte 17 # DW_AT_low_pc
260 .byte 27 # DW_FORM_addrx
261 .byte 18 # DW_AT_high_pc
262 .byte 6 # DW_FORM_data4
263 .byte 88 # DW_AT_call_file
264 .byte 11 # DW_FORM_data1
265 .byte 89 # DW_AT_call_line
266 .byte 11 # DW_FORM_data1
267 .byte 87 # DW_AT_call_column
268 .byte 11 # DW_FORM_data1
272 .section .debug_info,"",@progbits
274 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
276 .short 5 # DWARF version number
277 .byte 1 # DWARF Unit Type
278 .byte 8 # Address Size (in bytes)
279 .long .debug_abbrev # Offset Into Abbrev. Section
280 .byte 1 # Abbrev [1] 0xc:0x83 DW_TAG_compile_unit
281 .byte 0 # DW_AT_producer
282 .short 33 # DW_AT_language
284 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
285 .long .Lline_table_start0 # DW_AT_stmt_list
286 .byte 2 # DW_AT_comp_dir
287 .byte 1 # DW_AT_low_pc
288 .long .Lfunc_end1-.Lfunc_begin0 # DW_AT_high_pc
289 .long .Laddr_table_base0 # DW_AT_addr_base
290 .byte 2 # Abbrev [2] 0x27:0xb DW_TAG_variable
292 .long 46 # DW_AT_type
294 .byte 0 # DW_AT_decl_file
295 .byte 1 # DW_AT_decl_line
296 .byte 2 # DW_AT_location
299 .byte 3 # Abbrev [3] 0x32:0x4 DW_TAG_base_type
301 .byte 5 # DW_AT_encoding
302 .byte 4 # DW_AT_byte_size
303 .byte 4 # Abbrev [4] 0x36:0x14 DW_TAG_subprogram
304 .byte 1 # DW_AT_low_pc
305 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
306 .byte 1 # DW_AT_frame_base
308 # DW_AT_call_all_calls
309 .long 70 # DW_AT_abstract_origin
310 .byte 5 # Abbrev [5] 0x42:0x7 DW_TAG_formal_parameter
311 .byte 1 # DW_AT_location
313 .long 75 # DW_AT_abstract_origin
314 .byte 0 # End Of Children Mark
315 .byte 6 # Abbrev [6] 0x4a:0xe DW_TAG_subprogram
316 .byte 5 # DW_AT_linkage_name
318 .byte 0 # DW_AT_decl_file
319 .byte 2 # DW_AT_decl_line
322 .byte 7 # Abbrev [7] 0x4f:0x8 DW_TAG_formal_parameter
324 .byte 0 # DW_AT_decl_file
325 .byte 2 # DW_AT_decl_line
326 .long 84 # DW_AT_type
327 .byte 0 # End Of Children Mark
328 .byte 8 # Abbrev [8] 0x58:0x5 DW_TAG_pointer_type
329 .long 46 # DW_AT_type
330 .byte 9 # Abbrev [9] 0x5d:0x31 DW_TAG_subprogram
331 .byte 2 # DW_AT_low_pc
332 .long .Lfunc_end1-.Lfunc_begin1 # DW_AT_high_pc
333 .byte 1 # DW_AT_frame_base
335 # DW_AT_call_all_calls
336 .byte 8 # DW_AT_linkage_name
338 .byte 0 # DW_AT_decl_file
339 .byte 6 # DW_AT_decl_line
340 .long 46 # DW_AT_type
342 .byte 10 # Abbrev [10] 0x6d:0xa DW_TAG_formal_parameter
343 .byte 1 # DW_AT_location
345 .byte 10 # DW_AT_name
346 .byte 0 # DW_AT_decl_file
347 .byte 6 # DW_AT_decl_line
348 .long 46 # DW_AT_type
349 .byte 11 # Abbrev [11] 0x77:0x9 DW_TAG_variable
350 .long .Ldebug_loc0 # DW_AT_location
352 .byte 0 # DW_AT_decl_file
353 .byte 7 # DW_AT_decl_line
354 .long 46 # DW_AT_type
355 .byte 12 # Abbrev [12] 0x80:0xd DW_TAG_inlined_subroutine
356 .long 70 # DW_AT_abstract_origin
357 .byte 2 # DW_AT_low_pc
358 .long .Ltmp1-.Lfunc_begin1 # DW_AT_high_pc
359 .byte 0 # DW_AT_call_file
360 .byte 8 # DW_AT_call_line
361 .byte 5 # DW_AT_call_column
362 .byte 0 # End Of Children Mark
363 .byte 0 # End Of Children Mark
365 .section .debug_str_offsets,"",@progbits
366 .long 48 # Length of String Offsets Set
370 .section .debug_str,"MS",@progbits,1
372 .asciz "clang version 15.0.0" # string offset=0
374 .asciz "helper.cpp" # string offset=134
376 .asciz "." # string offset=145
378 .asciz "fooVar" # string offset=183
380 .asciz "int" # string offset=190
382 .asciz "_Z6useFooPi" # string offset=194
384 .asciz "useFoo" # string offset=206
386 .asciz "x" # string offset=213
388 .asciz "_Z3fooi" # string offset=215
390 .asciz "foo" # string offset=223
392 .asciz "argc" # string offset=227
393 .section .debug_str_offsets,"",@progbits
404 .long .Linfo_string10
405 .section .debug_addr,"",@progbits
406 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
408 .short 5 # DWARF version number
409 .byte 8 # Address size
410 .byte 0 # Segment selector size
416 .ident "clang version 15.0.0"
417 .section ".note.GNU-stack","",@progbits
419 .section .debug_line,"",@progbits