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 17 # DW_TAG_compile_unit
72 .byte 1 # DW_CHILDREN_yes
73 .byte 37 # DW_AT_producer
74 .byte 37 # DW_FORM_strx1
75 .byte 19 # DW_AT_language
76 .byte 5 # DW_FORM_data2
78 .byte 37 # DW_FORM_strx1
79 .byte 114 # DW_AT_str_offsets_base
80 .byte 23 # DW_FORM_sec_offset
81 .byte 16 # DW_AT_stmt_list
82 .byte 23 # DW_FORM_sec_offset
83 .byte 27 # DW_AT_comp_dir
84 .byte 37 # DW_FORM_strx1
85 .byte 17 # DW_AT_low_pc
86 .byte 27 # DW_FORM_addrx
87 .byte 18 # DW_AT_high_pc
88 .byte 6 # DW_FORM_data4
89 .byte 115 # DW_AT_addr_base
90 .byte 23 # DW_FORM_sec_offset
93 .byte 2 # Abbreviation Code
94 .byte 52 # DW_TAG_variable
95 .byte 0 # DW_CHILDREN_no
97 .byte 37 # DW_FORM_strx1
99 .byte 19 # DW_FORM_ref4
100 .byte 63 # DW_AT_external
101 .byte 25 # DW_FORM_flag_present
102 .byte 58 # DW_AT_decl_file
103 .byte 11 # DW_FORM_data1
104 .byte 59 # DW_AT_decl_line
105 .byte 11 # DW_FORM_data1
106 .byte 2 # DW_AT_location
107 .byte 24 # DW_FORM_exprloc
110 .byte 3 # Abbreviation Code
111 .byte 36 # DW_TAG_base_type
112 .byte 0 # DW_CHILDREN_no
114 .byte 37 # DW_FORM_strx1
115 .byte 62 # DW_AT_encoding
116 .byte 11 # DW_FORM_data1
117 .byte 11 # DW_AT_byte_size
118 .byte 11 # DW_FORM_data1
121 .byte 4 # Abbreviation Code
122 .byte 46 # DW_TAG_subprogram
123 .byte 1 # DW_CHILDREN_yes
124 .byte 17 # DW_AT_low_pc
125 .byte 27 # DW_FORM_addrx
126 .byte 18 # DW_AT_high_pc
127 .byte 6 # DW_FORM_data4
128 .byte 64 # DW_AT_frame_base
129 .byte 24 # DW_FORM_exprloc
130 .byte 110 # DW_AT_linkage_name
131 .byte 37 # DW_FORM_strx1
133 .byte 37 # DW_FORM_strx1
134 .byte 58 # DW_AT_decl_file
135 .byte 11 # DW_FORM_data1
136 .byte 59 # DW_AT_decl_line
137 .byte 11 # DW_FORM_data1
138 .byte 73 # DW_AT_type
139 .byte 19 # DW_FORM_ref4
140 .byte 63 # DW_AT_external
141 .byte 25 # DW_FORM_flag_present
144 .byte 5 # Abbreviation Code
145 .byte 5 # DW_TAG_formal_parameter
146 .byte 0 # DW_CHILDREN_no
147 .byte 2 # DW_AT_location
148 .byte 24 # DW_FORM_exprloc
150 .byte 37 # DW_FORM_strx1
151 .byte 58 # DW_AT_decl_file
152 .byte 11 # DW_FORM_data1
153 .byte 59 # DW_AT_decl_line
154 .byte 11 # DW_FORM_data1
155 .byte 73 # DW_AT_type
156 .byte 19 # DW_FORM_ref4
160 .section .debug_info,"",@progbits
162 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
164 .short 5 # DWARF version number
165 .byte 1 # DWARF Unit Type
166 .byte 8 # Address Size (in bytes)
167 .long .debug_abbrev # Offset Into Abbrev. Section
168 .byte 1 # Abbrev [1] 0xc:0x59 DW_TAG_compile_unit
169 .byte 0 # DW_AT_producer
170 .short 33 # DW_AT_language
172 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
173 .long .Lline_table_start0 # DW_AT_stmt_list
174 .byte 2 # DW_AT_comp_dir
175 .byte 2 # DW_AT_low_pc
176 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
177 .long .Laddr_table_base0 # DW_AT_addr_base
178 .byte 2 # Abbrev [2] 0x23:0xb DW_TAG_variable
180 .long 46 # DW_AT_type
182 .byte 0 # DW_AT_decl_file
183 .byte 1 # DW_AT_decl_line
184 .byte 2 # DW_AT_location
187 .byte 3 # Abbrev [3] 0x2e:0x4 DW_TAG_base_type
189 .byte 5 # DW_AT_encoding
190 .byte 4 # DW_AT_byte_size
191 .byte 2 # Abbrev [2] 0x32:0xb DW_TAG_variable
193 .long 46 # DW_AT_type
195 .byte 0 # DW_AT_decl_file
196 .byte 2 # DW_AT_decl_line
197 .byte 2 # DW_AT_location
200 .byte 4 # Abbrev [4] 0x3d:0x27 DW_TAG_subprogram
201 .byte 2 # DW_AT_low_pc
202 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
203 .byte 1 # DW_AT_frame_base
205 .byte 6 # DW_AT_linkage_name
207 .byte 0 # DW_AT_decl_file
208 .byte 4 # DW_AT_decl_line
209 .long 46 # DW_AT_type
211 .byte 5 # Abbrev [5] 0x4d:0xb DW_TAG_formal_parameter
212 .byte 2 # DW_AT_location
216 .byte 0 # DW_AT_decl_file
217 .byte 4 # DW_AT_decl_line
218 .long 46 # DW_AT_type
219 .byte 5 # Abbrev [5] 0x58:0xb DW_TAG_formal_parameter
220 .byte 2 # DW_AT_location
224 .byte 0 # DW_AT_decl_file
225 .byte 4 # DW_AT_decl_line
226 .long 46 # DW_AT_type
227 .byte 0 # End Of Children Mark
228 .byte 0 # End Of Children Mark
230 .section .debug_str_offsets,"",@progbits
231 .long 44 # Length of String Offsets Set
235 .section .debug_str,"MS",@progbits,1
237 .asciz "clang version 15.0.0" # string offset=0
239 .asciz "helper.cpp" # string offset=21
241 .asciz "." # string offset=32
243 .asciz "z" # string offset=34
245 .asciz "int" # string offset=36
247 .asciz "d" # string offset=40
249 .asciz "_Z6helperii" # string offset=42
251 .asciz "helper" # string offset=54
253 .asciz "z_" # string offset=61
255 .asciz "d_" # string offset=64
256 .section .debug_str_offsets,"",@progbits
267 .section .debug_addr,"",@progbits
268 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
270 .short 5 # DWARF version number
271 .byte 8 # Address size
272 .byte 0 # Segment selector size
278 .ident "clang version 15.0.0"
279 .section ".note.GNU-stack","",@progbits
280 .section .debug_line,"",@progbits