1 # clang++ -g -gdwarf-4 -emit-llvm -S helper.cpp
2 # llc -O2 -mtriple=x86_64-unknown-linux-gnu helper.ll
6 # int helper(int z_, int d_) {
14 .file 1 "." "helper.cpp"
15 .globl _Z6helperii # -- Begin function _Z6helperii
17 .type _Z6helperii,@function
18 _Z6helperii
: # @_Z6helperii
20 .loc 1 4 0 # helper.cpp:4:0
23 #DEBUG_VALUE: helper:z_ <- $edi
24 #DEBUG_VALUE: helper:d_ <- $esi
27 .loc 1 5 4 prologue_end # helper.cpp:5:4
30 #DEBUG_VALUE: helper:z_ <- [DW_OP_LLVM_entry_value 1] $edi
31 .loc 1 6 4 # helper.cpp:6:4
33 .loc 1 5 4 # helper.cpp:5:4
35 .loc 1 6 4 # helper.cpp:6:4
37 .loc 1 7 11 # helper.cpp:7:11
39 .loc 1 7 2 is_stmt 0 # helper.cpp:7:2
43 .size _Z6helperii, .Lfunc_end0-_Z6helperii
61 .section .debug_loc.dwo,"e",@progbits
65 .long .Ltmp1-.Lfunc_begin0
66 .short 1 # Loc expr size
67 .byte 85 # super-register DW_OP_reg5
70 .long .Lfunc_end0-.Ltmp1
71 .short 4 # Loc expr size
72 .byte 243 # DW_OP_GNU_entry_value
74 .byte 85 # super-register DW_OP_reg5
75 .byte 159 # DW_OP_stack_value
77 .section .debug_abbrev,"",@progbits
78 .byte 1 # Abbreviation Code
79 .byte 17 # DW_TAG_compile_unit
80 .byte 0 # DW_CHILDREN_no
81 .byte 16 # DW_AT_stmt_list
82 .byte 23 # DW_FORM_sec_offset
83 .byte 27 # DW_AT_comp_dir
84 .byte 14 # DW_FORM_strp
85 .ascii "\260B" # DW_AT_GNU_dwo_name
86 .byte 14 # DW_FORM_strp
87 .ascii "\261B" # DW_AT_GNU_dwo_id
88 .byte 7 # DW_FORM_data8
89 .byte 17 # DW_AT_low_pc
90 .byte 1 # DW_FORM_addr
91 .byte 18 # DW_AT_high_pc
92 .byte 6 # DW_FORM_data4
93 .ascii "\263B" # DW_AT_GNU_addr_base
94 .byte 23 # DW_FORM_sec_offset
98 .section .debug_info,"",@progbits
100 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
102 .short 4 # DWARF version number
103 .long .debug_abbrev # Offset Into Abbrev. Section
104 .byte 8 # Address Size (in bytes)
105 .byte 1 # Abbrev [1] 0xb:0x25 DW_TAG_compile_unit
106 .long .Lline_table_start0 # DW_AT_stmt_list
107 .long .Lskel_string0 # DW_AT_comp_dir
108 .long .Lskel_string1 # DW_AT_GNU_dwo_name
109 .quad -5732284259998169791 # DW_AT_GNU_dwo_id
110 .quad .Lfunc_begin0 # DW_AT_low_pc
111 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
112 .long .Laddr_table_base0 # DW_AT_GNU_addr_base
114 .section .debug_str,"MS",@progbits,1
116 .asciz "." # string offset=0
118 .asciz "helper.dwo" # string offset=2
119 .section .debug_str.dwo,"eMS",@progbits,1
121 .asciz "z" # string offset=0
123 .asciz "int" # string offset=2
125 .asciz "d" # string offset=6
127 .asciz "_Z6helperii" # string offset=8
129 .asciz "helper" # string offset=20
131 .asciz "z_" # string offset=27
133 .asciz "d_" # string offset=30
135 .asciz "clang version 15.0.0" # string offset=33
137 .asciz "helper.cpp" # string offset=54
139 .asciz "helper.dwo" # string offset=65
140 .section .debug_str_offsets.dwo,"e",@progbits
151 .section .debug_info.dwo,"e",@progbits
152 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
153 .Ldebug_info_dwo_start0:
154 .short 4 # DWARF version number
155 .long 0 # Offset Into Abbrev. Section
156 .byte 8 # Address Size (in bytes)
157 .byte 1 # Abbrev [1] 0xb:0x50 DW_TAG_compile_unit
158 .byte 7 # DW_AT_producer
159 .short 33 # DW_AT_language
161 .byte 9 # DW_AT_GNU_dwo_name
162 .quad -5732284259998169791 # DW_AT_GNU_dwo_id
163 .byte 2 # Abbrev [2] 0x19:0xb DW_TAG_variable
165 .long 36 # DW_AT_type
167 .byte 1 # DW_AT_decl_file
168 .byte 1 # DW_AT_decl_line
169 .byte 2 # DW_AT_location
172 .byte 3 # Abbrev [3] 0x24:0x4 DW_TAG_base_type
174 .byte 5 # DW_AT_encoding
175 .byte 4 # DW_AT_byte_size
176 .byte 2 # Abbrev [2] 0x28:0xb DW_TAG_variable
178 .long 36 # DW_AT_type
180 .byte 1 # DW_AT_decl_file
181 .byte 2 # DW_AT_decl_line
182 .byte 2 # DW_AT_location
185 .byte 4 # Abbrev [4] 0x33:0x27 DW_TAG_subprogram
186 .byte 2 # DW_AT_low_pc
187 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
188 .byte 1 # DW_AT_frame_base
190 # DW_AT_GNU_all_call_sites
191 .byte 3 # DW_AT_linkage_name
193 .byte 1 # DW_AT_decl_file
194 .byte 4 # DW_AT_decl_line
195 .long 36 # DW_AT_type
197 .byte 5 # Abbrev [5] 0x43:0xc DW_TAG_formal_parameter
198 .long .Ldebug_loc0-.debug_loc.dwo # DW_AT_location
200 .byte 1 # DW_AT_decl_file
201 .byte 4 # DW_AT_decl_line
202 .long 36 # DW_AT_type
203 .byte 6 # Abbrev [6] 0x4f:0xa DW_TAG_formal_parameter
204 .byte 1 # DW_AT_location
207 .byte 1 # DW_AT_decl_file
208 .byte 4 # DW_AT_decl_line
209 .long 36 # DW_AT_type
210 .byte 0 # End Of Children Mark
211 .byte 0 # End Of Children Mark
212 .Ldebug_info_dwo_end0:
213 .section .debug_abbrev.dwo,"e",@progbits
214 .byte 1 # Abbreviation Code
215 .byte 17 # DW_TAG_compile_unit
216 .byte 1 # DW_CHILDREN_yes
217 .byte 37 # DW_AT_producer
218 .ascii "\202>" # DW_FORM_GNU_str_index
219 .byte 19 # DW_AT_language
220 .byte 5 # DW_FORM_data2
222 .ascii "\202>" # DW_FORM_GNU_str_index
223 .ascii "\260B" # DW_AT_GNU_dwo_name
224 .ascii "\202>" # DW_FORM_GNU_str_index
225 .ascii "\261B" # DW_AT_GNU_dwo_id
226 .byte 7 # DW_FORM_data8
229 .byte 2 # Abbreviation Code
230 .byte 52 # DW_TAG_variable
231 .byte 0 # DW_CHILDREN_no
233 .ascii "\202>" # DW_FORM_GNU_str_index
234 .byte 73 # DW_AT_type
235 .byte 19 # DW_FORM_ref4
236 .byte 63 # DW_AT_external
237 .byte 25 # DW_FORM_flag_present
238 .byte 58 # DW_AT_decl_file
239 .byte 11 # DW_FORM_data1
240 .byte 59 # DW_AT_decl_line
241 .byte 11 # DW_FORM_data1
242 .byte 2 # DW_AT_location
243 .byte 24 # DW_FORM_exprloc
246 .byte 3 # Abbreviation Code
247 .byte 36 # DW_TAG_base_type
248 .byte 0 # DW_CHILDREN_no
250 .ascii "\202>" # DW_FORM_GNU_str_index
251 .byte 62 # DW_AT_encoding
252 .byte 11 # DW_FORM_data1
253 .byte 11 # DW_AT_byte_size
254 .byte 11 # DW_FORM_data1
257 .byte 4 # Abbreviation Code
258 .byte 46 # DW_TAG_subprogram
259 .byte 1 # DW_CHILDREN_yes
260 .byte 17 # DW_AT_low_pc
261 .ascii "\201>" # DW_FORM_GNU_addr_index
262 .byte 18 # DW_AT_high_pc
263 .byte 6 # DW_FORM_data4
264 .byte 64 # DW_AT_frame_base
265 .byte 24 # DW_FORM_exprloc
266 .ascii "\227B" # DW_AT_GNU_all_call_sites
267 .byte 25 # DW_FORM_flag_present
268 .byte 110 # DW_AT_linkage_name
269 .ascii "\202>" # DW_FORM_GNU_str_index
271 .ascii "\202>" # DW_FORM_GNU_str_index
272 .byte 58 # DW_AT_decl_file
273 .byte 11 # DW_FORM_data1
274 .byte 59 # DW_AT_decl_line
275 .byte 11 # DW_FORM_data1
276 .byte 73 # DW_AT_type
277 .byte 19 # DW_FORM_ref4
278 .byte 63 # DW_AT_external
279 .byte 25 # DW_FORM_flag_present
282 .byte 5 # Abbreviation Code
283 .byte 5 # DW_TAG_formal_parameter
284 .byte 0 # DW_CHILDREN_no
285 .byte 2 # DW_AT_location
286 .byte 23 # DW_FORM_sec_offset
288 .ascii "\202>" # DW_FORM_GNU_str_index
289 .byte 58 # DW_AT_decl_file
290 .byte 11 # DW_FORM_data1
291 .byte 59 # DW_AT_decl_line
292 .byte 11 # DW_FORM_data1
293 .byte 73 # DW_AT_type
294 .byte 19 # DW_FORM_ref4
297 .byte 6 # Abbreviation Code
298 .byte 5 # DW_TAG_formal_parameter
299 .byte 0 # DW_CHILDREN_no
300 .byte 2 # DW_AT_location
301 .byte 24 # DW_FORM_exprloc
303 .ascii "\202>" # DW_FORM_GNU_str_index
304 .byte 58 # DW_AT_decl_file
305 .byte 11 # DW_FORM_data1
306 .byte 59 # DW_AT_decl_line
307 .byte 11 # DW_FORM_data1
308 .byte 73 # DW_AT_type
309 .byte 19 # DW_FORM_ref4
313 .section .debug_addr,"",@progbits
319 .ident "clang version 15.0.0"
320 .section ".note.GNU-stack","",@progbits
321 .section .debug_line,"",@progbits