1 # clang++ -g -gdwarf-4 -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 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
24 .cfi_def_cfa_offset 16
27 .cfi_def_cfa_register %rbp
31 .loc 1 5 7 prologue_end # helper.cpp:5:7
33 .loc 1 5 4 is_stmt 0 # helper.cpp:5:4
36 .loc 1 6 7 is_stmt 1 # helper.cpp:6:7
38 .loc 1 6 4 is_stmt 0 # helper.cpp:6:4
41 .loc 1 7 9 is_stmt 1 # helper.cpp:7:9
43 .loc 1 7 11 is_stmt 0 # helper.cpp:7:11
45 .loc 1 7 2 # helper.cpp:7:2
51 .size _Z6helperii, .Lfunc_end0-_Z6helperii
69 .section .debug_abbrev,"",@progbits
70 .byte 1 # Abbreviation Code
71 .byte 17 # DW_TAG_compile_unit
72 .byte 0 # DW_CHILDREN_no
73 .byte 16 # DW_AT_stmt_list
74 .byte 23 # DW_FORM_sec_offset
75 .byte 27 # DW_AT_comp_dir
76 .byte 14 # DW_FORM_strp
77 .ascii "\260B" # DW_AT_GNU_dwo_name
78 .byte 14 # DW_FORM_strp
79 .ascii "\261B" # DW_AT_GNU_dwo_id
80 .byte 7 # DW_FORM_data8
81 .byte 17 # DW_AT_low_pc
82 .byte 1 # DW_FORM_addr
83 .byte 18 # DW_AT_high_pc
84 .byte 6 # DW_FORM_data4
85 .ascii "\263B" # DW_AT_GNU_addr_base
86 .byte 23 # DW_FORM_sec_offset
90 .section .debug_info,"",@progbits
92 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
94 .short 4 # DWARF version number
95 .long .debug_abbrev # Offset Into Abbrev. Section
96 .byte 8 # Address Size (in bytes)
97 .byte 1 # Abbrev [1] 0xb:0x25 DW_TAG_compile_unit
98 .long .Lline_table_start0 # DW_AT_stmt_list
99 .long .Lskel_string0 # DW_AT_comp_dir
100 .long .Lskel_string1 # DW_AT_GNU_dwo_name
101 .quad 9133088002243470176 # DW_AT_GNU_dwo_id
102 .quad .Lfunc_begin0 # DW_AT_low_pc
103 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
104 .long .Laddr_table_base0 # DW_AT_GNU_addr_base
106 .section .debug_str,"MS",@progbits,1
108 .asciz "." # string offset=0
110 .asciz "helper.dwo" # string offset=2
111 .section .debug_str.dwo,"eMS",@progbits,1
113 .asciz "z" # string offset=0
115 .asciz "int" # string offset=2
117 .asciz "d" # string offset=6
119 .asciz "_Z6helperii" # string offset=8
121 .asciz "helper" # string offset=20
123 .asciz "z_" # string offset=27
125 .asciz "d_" # string offset=30
127 .asciz "clang version 15.0.0" # string offset=33
129 .asciz "helper.cpp" # string offset=54
131 .asciz "helper.dwo" # string offset=65
132 .section .debug_str_offsets.dwo,"e",@progbits
143 .section .debug_info.dwo,"e",@progbits
144 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
145 .Ldebug_info_dwo_start0:
146 .short 4 # DWARF version number
147 .long 0 # Offset Into Abbrev. Section
148 .byte 8 # Address Size (in bytes)
149 .byte 1 # Abbrev [1] 0xb:0x50 DW_TAG_compile_unit
150 .byte 7 # DW_AT_producer
151 .short 33 # DW_AT_language
153 .byte 9 # DW_AT_GNU_dwo_name
154 .quad 9133088002243470176 # DW_AT_GNU_dwo_id
155 .byte 2 # Abbrev [2] 0x19:0xb DW_TAG_variable
157 .long 36 # DW_AT_type
159 .byte 1 # DW_AT_decl_file
160 .byte 1 # DW_AT_decl_line
161 .byte 2 # DW_AT_location
164 .byte 3 # Abbrev [3] 0x24:0x4 DW_TAG_base_type
166 .byte 5 # DW_AT_encoding
167 .byte 4 # DW_AT_byte_size
168 .byte 2 # Abbrev [2] 0x28:0xb DW_TAG_variable
170 .long 36 # DW_AT_type
172 .byte 1 # DW_AT_decl_file
173 .byte 2 # DW_AT_decl_line
174 .byte 2 # DW_AT_location
177 .byte 4 # Abbrev [4] 0x33:0x27 DW_TAG_subprogram
178 .byte 2 # DW_AT_low_pc
179 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
180 .byte 1 # DW_AT_frame_base
182 .byte 3 # DW_AT_linkage_name
184 .byte 1 # DW_AT_decl_file
185 .byte 4 # DW_AT_decl_line
186 .long 36 # DW_AT_type
188 .byte 5 # Abbrev [5] 0x43:0xb DW_TAG_formal_parameter
189 .byte 2 # DW_AT_location
193 .byte 1 # DW_AT_decl_file
194 .byte 4 # DW_AT_decl_line
195 .long 36 # DW_AT_type
196 .byte 5 # Abbrev [5] 0x4e:0xb DW_TAG_formal_parameter
197 .byte 2 # DW_AT_location
201 .byte 1 # DW_AT_decl_file
202 .byte 4 # DW_AT_decl_line
203 .long 36 # DW_AT_type
204 .byte 0 # End Of Children Mark
205 .byte 0 # End Of Children Mark
206 .Ldebug_info_dwo_end0:
207 .section .debug_abbrev.dwo,"e",@progbits
208 .byte 1 # Abbreviation Code
209 .byte 17 # DW_TAG_compile_unit
210 .byte 1 # DW_CHILDREN_yes
211 .byte 37 # DW_AT_producer
212 .ascii "\202>" # DW_FORM_GNU_str_index
213 .byte 19 # DW_AT_language
214 .byte 5 # DW_FORM_data2
216 .ascii "\202>" # DW_FORM_GNU_str_index
217 .ascii "\260B" # DW_AT_GNU_dwo_name
218 .ascii "\202>" # DW_FORM_GNU_str_index
219 .ascii "\261B" # DW_AT_GNU_dwo_id
220 .byte 7 # DW_FORM_data8
223 .byte 2 # Abbreviation Code
224 .byte 52 # DW_TAG_variable
225 .byte 0 # DW_CHILDREN_no
227 .ascii "\202>" # DW_FORM_GNU_str_index
228 .byte 73 # DW_AT_type
229 .byte 19 # DW_FORM_ref4
230 .byte 63 # DW_AT_external
231 .byte 25 # DW_FORM_flag_present
232 .byte 58 # DW_AT_decl_file
233 .byte 11 # DW_FORM_data1
234 .byte 59 # DW_AT_decl_line
235 .byte 11 # DW_FORM_data1
236 .byte 2 # DW_AT_location
237 .byte 24 # DW_FORM_exprloc
240 .byte 3 # Abbreviation Code
241 .byte 36 # DW_TAG_base_type
242 .byte 0 # DW_CHILDREN_no
244 .ascii "\202>" # DW_FORM_GNU_str_index
245 .byte 62 # DW_AT_encoding
246 .byte 11 # DW_FORM_data1
247 .byte 11 # DW_AT_byte_size
248 .byte 11 # DW_FORM_data1
251 .byte 4 # Abbreviation Code
252 .byte 46 # DW_TAG_subprogram
253 .byte 1 # DW_CHILDREN_yes
254 .byte 17 # DW_AT_low_pc
255 .ascii "\201>" # DW_FORM_GNU_addr_index
256 .byte 18 # DW_AT_high_pc
257 .byte 6 # DW_FORM_data4
258 .byte 64 # DW_AT_frame_base
259 .byte 24 # DW_FORM_exprloc
260 .byte 110 # DW_AT_linkage_name
261 .ascii "\202>" # DW_FORM_GNU_str_index
263 .ascii "\202>" # DW_FORM_GNU_str_index
264 .byte 58 # DW_AT_decl_file
265 .byte 11 # DW_FORM_data1
266 .byte 59 # DW_AT_decl_line
267 .byte 11 # DW_FORM_data1
268 .byte 73 # DW_AT_type
269 .byte 19 # DW_FORM_ref4
270 .byte 63 # DW_AT_external
271 .byte 25 # DW_FORM_flag_present
274 .byte 5 # Abbreviation Code
275 .byte 5 # DW_TAG_formal_parameter
276 .byte 0 # DW_CHILDREN_no
277 .byte 2 # DW_AT_location
278 .byte 24 # DW_FORM_exprloc
280 .ascii "\202>" # DW_FORM_GNU_str_index
281 .byte 58 # DW_AT_decl_file
282 .byte 11 # DW_FORM_data1
283 .byte 59 # DW_AT_decl_line
284 .byte 11 # DW_FORM_data1
285 .byte 73 # DW_AT_type
286 .byte 19 # DW_FORM_ref4
290 .section .debug_addr,"",@progbits
295 .ident "clang version 15.0.0"
296 .section ".note.GNU-stack","",@progbits
297 .section .debug_line,"",@progbits