1 # clang++ -g -gdwarf-5 -emit-llvm -S helper.cpp
2 # llc -O0 -mtriple=x86_64-unknown-linux-gnu helper.ll
6 # int helper(int z_, int d_) {
14 .file 0 "." "helper.cpp" md5 0xe635924a35b65444173d0c76a54b866f
15 .globl _Z6helperii # -- Begin function _Z6helperii
17 .type _Z6helperii,@function
18 _Z6helperii
: # @_Z6helperii
20 .loc 0 4 0 # helper.cpp:4:0
24 .cfi_def_cfa_offset 16
27 .cfi_def_cfa_register %rbp
31 .loc 0 5 7 prologue_end # helper.cpp:5:7
33 .loc 0 5 4 is_stmt 0 # helper.cpp:5:4
36 .loc 0 6 7 is_stmt 1 # helper.cpp:6:7
38 .loc 0 6 4 is_stmt 0 # helper.cpp:6:4
41 .loc 0 7 9 is_stmt 1 # helper.cpp:7:9
43 .loc 0 7 11 is_stmt 0 # helper.cpp:7:11
45 .loc 0 7 2 # helper.cpp:7:2
51 .size _Z6helperii, .Lfunc_end0-_Z6helperii
69 .section .debug_abbrev,"",@progbits
70 .byte 1 # Abbreviation Code
71 .byte 74 # DW_TAG_skeleton_unit
72 .byte 0 # DW_CHILDREN_no
73 .byte 16 # DW_AT_stmt_list
74 .byte 23 # DW_FORM_sec_offset
75 .byte 114 # DW_AT_str_offsets_base
76 .byte 23 # DW_FORM_sec_offset
77 .byte 27 # DW_AT_comp_dir
78 .byte 37 # DW_FORM_strx1
79 .ascii "\264B" # DW_AT_GNU_pubnames
80 .byte 25 # DW_FORM_flag_present
81 .byte 118 # DW_AT_dwo_name
82 .byte 37 # DW_FORM_strx1
83 .byte 17 # DW_AT_low_pc
84 .byte 27 # DW_FORM_addrx
85 .byte 18 # DW_AT_high_pc
86 .byte 6 # DW_FORM_data4
87 .byte 115 # DW_AT_addr_base
88 .byte 23 # DW_FORM_sec_offset
92 .section .debug_info,"",@progbits
94 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
96 .short 5 # DWARF version number
97 .byte 4 # DWARF Unit Type
98 .byte 8 # Address Size (in bytes)
99 .long .debug_abbrev # Offset Into Abbrev. Section
100 .quad -3815466543033299045
101 .byte 1 # Abbrev [1] 0x14:0x14 DW_TAG_skeleton_unit
102 .long .Lline_table_start0 # DW_AT_stmt_list
103 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
104 .byte 0 # DW_AT_comp_dir
106 .byte 1 # DW_AT_dwo_name
107 .byte 2 # DW_AT_low_pc
108 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
109 .long .Laddr_table_base0 # DW_AT_addr_base
111 .section .debug_str_offsets,"",@progbits
112 .long 12 # Length of String Offsets Set
116 .section .debug_str,"MS",@progbits,1
118 .asciz "." # string offset=0
120 .asciz "helper.dwo" # string offset=2
121 .section .debug_str_offsets,"",@progbits
124 .section .debug_str_offsets.dwo,"e",@progbits
125 .long 44 # Length of String Offsets Set
128 .section .debug_str.dwo,"eMS",@progbits,1
130 .asciz "z" # string offset=0
132 .asciz "int" # string offset=2
134 .asciz "d" # string offset=6
136 .asciz "_Z6helperii" # string offset=8
138 .asciz "helper" # string offset=20
140 .asciz "z_" # string offset=27
142 .asciz "d_" # string offset=30
144 .asciz "clang version 15.0.0" # string offset=33
146 .asciz "helper.cpp" # string offset=54
148 .asciz "helper.dwo" # string offset=65
149 .section .debug_str_offsets.dwo,"e",@progbits
160 .section .debug_info.dwo,"e",@progbits
161 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
162 .Ldebug_info_dwo_start0:
163 .short 5 # DWARF version number
164 .byte 5 # DWARF Unit Type
165 .byte 8 # Address Size (in bytes)
166 .long 0 # Offset Into Abbrev. Section
167 .quad -3815466543033299045
168 .byte 1 # Abbrev [1] 0x14:0x48 DW_TAG_compile_unit
169 .byte 7 # DW_AT_producer
170 .short 33 # DW_AT_language
172 .byte 9 # DW_AT_dwo_name
173 .byte 2 # Abbrev [2] 0x1a:0xb DW_TAG_variable
175 .long 37 # DW_AT_type
177 .byte 0 # DW_AT_decl_file
178 .byte 1 # DW_AT_decl_line
179 .byte 2 # DW_AT_location
182 .byte 3 # Abbrev [3] 0x25:0x4 DW_TAG_base_type
184 .byte 5 # DW_AT_encoding
185 .byte 4 # DW_AT_byte_size
186 .byte 2 # Abbrev [2] 0x29:0xb DW_TAG_variable
188 .long 37 # DW_AT_type
190 .byte 0 # DW_AT_decl_file
191 .byte 2 # DW_AT_decl_line
192 .byte 2 # DW_AT_location
195 .byte 4 # Abbrev [4] 0x34:0x27 DW_TAG_subprogram
196 .byte 2 # DW_AT_low_pc
197 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
198 .byte 1 # DW_AT_frame_base
200 .byte 3 # DW_AT_linkage_name
202 .byte 0 # DW_AT_decl_file
203 .byte 4 # DW_AT_decl_line
204 .long 37 # DW_AT_type
206 .byte 5 # Abbrev [5] 0x44:0xb DW_TAG_formal_parameter
207 .byte 2 # DW_AT_location
211 .byte 0 # DW_AT_decl_file
212 .byte 4 # DW_AT_decl_line
213 .long 37 # DW_AT_type
214 .byte 5 # Abbrev [5] 0x4f:0xb DW_TAG_formal_parameter
215 .byte 2 # DW_AT_location
219 .byte 0 # DW_AT_decl_file
220 .byte 4 # DW_AT_decl_line
221 .long 37 # DW_AT_type
222 .byte 0 # End Of Children Mark
223 .byte 0 # End Of Children Mark
224 .Ldebug_info_dwo_end0:
225 .section .debug_abbrev.dwo,"e",@progbits
226 .byte 1 # Abbreviation Code
227 .byte 17 # DW_TAG_compile_unit
228 .byte 1 # DW_CHILDREN_yes
229 .byte 37 # DW_AT_producer
230 .byte 37 # DW_FORM_strx1
231 .byte 19 # DW_AT_language
232 .byte 5 # DW_FORM_data2
234 .byte 37 # DW_FORM_strx1
235 .byte 118 # DW_AT_dwo_name
236 .byte 37 # DW_FORM_strx1
239 .byte 2 # Abbreviation Code
240 .byte 52 # DW_TAG_variable
241 .byte 0 # DW_CHILDREN_no
243 .byte 37 # DW_FORM_strx1
244 .byte 73 # DW_AT_type
245 .byte 19 # DW_FORM_ref4
246 .byte 63 # DW_AT_external
247 .byte 25 # DW_FORM_flag_present
248 .byte 58 # DW_AT_decl_file
249 .byte 11 # DW_FORM_data1
250 .byte 59 # DW_AT_decl_line
251 .byte 11 # DW_FORM_data1
252 .byte 2 # DW_AT_location
253 .byte 24 # DW_FORM_exprloc
256 .byte 3 # Abbreviation Code
257 .byte 36 # DW_TAG_base_type
258 .byte 0 # DW_CHILDREN_no
260 .byte 37 # DW_FORM_strx1
261 .byte 62 # DW_AT_encoding
262 .byte 11 # DW_FORM_data1
263 .byte 11 # DW_AT_byte_size
264 .byte 11 # DW_FORM_data1
267 .byte 4 # Abbreviation Code
268 .byte 46 # DW_TAG_subprogram
269 .byte 1 # DW_CHILDREN_yes
270 .byte 17 # DW_AT_low_pc
271 .byte 27 # DW_FORM_addrx
272 .byte 18 # DW_AT_high_pc
273 .byte 6 # DW_FORM_data4
274 .byte 64 # DW_AT_frame_base
275 .byte 24 # DW_FORM_exprloc
276 .byte 110 # DW_AT_linkage_name
277 .byte 37 # DW_FORM_strx1
279 .byte 37 # DW_FORM_strx1
280 .byte 58 # DW_AT_decl_file
281 .byte 11 # DW_FORM_data1
282 .byte 59 # DW_AT_decl_line
283 .byte 11 # DW_FORM_data1
284 .byte 73 # DW_AT_type
285 .byte 19 # DW_FORM_ref4
286 .byte 63 # DW_AT_external
287 .byte 25 # DW_FORM_flag_present
290 .byte 5 # Abbreviation Code
291 .byte 5 # DW_TAG_formal_parameter
292 .byte 0 # DW_CHILDREN_no
293 .byte 2 # DW_AT_location
294 .byte 24 # DW_FORM_exprloc
296 .byte 37 # DW_FORM_strx1
297 .byte 58 # DW_AT_decl_file
298 .byte 11 # DW_FORM_data1
299 .byte 59 # DW_AT_decl_line
300 .byte 11 # DW_FORM_data1
301 .byte 73 # DW_AT_type
302 .byte 19 # DW_FORM_ref4
306 .section .debug_addr,"",@progbits
307 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
309 .short 5 # DWARF version number
310 .byte 8 # Address size
311 .byte 0 # Segment selector size
317 .section .debug_gnu_pubnames,"",@progbits
318 .long .LpubNames_end0-.LpubNames_start0 # Length of Public Names Info
320 .short 2 # DWARF Version
321 .long .Lcu_begin0 # Offset of Compilation Unit Info
322 .long 40 # Compilation Unit Length
323 .long 52 # DIE offset
324 .byte 48 # Attributes: FUNCTION, EXTERNAL
325 .asciz "helper" # External Name
326 .long 41 # DIE offset
327 .byte 32 # Attributes: VARIABLE, EXTERNAL
328 .asciz "d" # External Name
329 .long 26 # DIE offset
330 .byte 32 # Attributes: VARIABLE, EXTERNAL
331 .asciz "z" # External Name
334 .section .debug_gnu_pubtypes,"",@progbits
335 .long .LpubTypes_end0-.LpubTypes_start0 # Length of Public Types Info
337 .short 2 # DWARF Version
338 .long .Lcu_begin0 # Offset of Compilation Unit Info
339 .long 40 # Compilation Unit Length
340 .long 37 # DIE offset
341 .byte 144 # Attributes: TYPE, STATIC
342 .asciz "int" # External Name
345 .ident "clang version 15.0.0"
346 .section ".note.GNU-stack","",@progbits
347 .section .debug_line,"",@progbits