Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / X86 / Inputs / dwarf4-duplicate-types-main.s
blob88841a2f17eb5b8f89b949a39b5444e05185925e
1 # struct Foo {
2 # char *c1;
3 # char *c2;
4 # char *c3;
5 # };
6 # int main(int argc, char *argv[]) {
7 # Foo f;
8 # return 0;
9 # }
10 .text
11 .file "main.cpp"
12 .globl main # -- Begin function main
13 .p2align 4, 0x90
14 .type main,@function
15 main: # @main
16 .Lfunc_begin0:
17 .file 1 "dwarf4-duplicate-types-test" "main.cpp"
18 .loc 1 6 0 # main.cpp:6:0
19 .cfi_startproc
20 # %bb.0:
21 pushq %rbp
22 .cfi_def_cfa_offset 16
23 .cfi_offset %rbp, -16
24 movq %rsp, %rbp
25 .cfi_def_cfa_register %rbp
26 movl $0, -4(%rbp)
27 movl %edi, -8(%rbp)
28 movq %rsi, -16(%rbp)
29 .Ltmp0:
30 .loc 1 8 2 prologue_end # main.cpp:8:2
31 xorl %eax, %eax
32 .loc 1 8 2 epilogue_begin is_stmt 0 # main.cpp:8:2
33 popq %rbp
34 .cfi_def_cfa %rsp, 8
35 retq
36 .Ltmp1:
37 .Lfunc_end0:
38 .size main, .Lfunc_end0-main
39 .cfi_endproc
40 # -- End function
41 .section .debug_types,"G",@progbits,7448148824980338162,comdat
42 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
43 .Ldebug_info_start0:
44 .short 4 # DWARF version number
45 .long .debug_abbrev # Offset Into Abbrev. Section
46 .byte 8 # Address Size (in bytes)
47 .quad 7448148824980338162 # Type Signature
48 .long 30 # Type DIE Offset
49 .byte 1 # Abbrev [1] 0x17:0x42 DW_TAG_type_unit
50 .short 33 # DW_AT_language
51 .long .Lline_table_start0 # DW_AT_stmt_list
52 .byte 2 # Abbrev [2] 0x1e:0x2e DW_TAG_structure_type
53 .byte 5 # DW_AT_calling_convention
54 .long .Linfo_string12 # DW_AT_name
55 .byte 24 # DW_AT_byte_size
56 .byte 1 # DW_AT_decl_file
57 .byte 1 # DW_AT_decl_line
58 .byte 3 # Abbrev [3] 0x27:0xc DW_TAG_member
59 .long .Linfo_string9 # DW_AT_name
60 .long 76 # DW_AT_type
61 .byte 1 # DW_AT_decl_file
62 .byte 2 # DW_AT_decl_line
63 .byte 0 # DW_AT_data_member_location
64 .byte 3 # Abbrev [3] 0x33:0xc DW_TAG_member
65 .long .Linfo_string10 # DW_AT_name
66 .long 76 # DW_AT_type
67 .byte 1 # DW_AT_decl_file
68 .byte 3 # DW_AT_decl_line
69 .byte 8 # DW_AT_data_member_location
70 .byte 3 # Abbrev [3] 0x3f:0xc DW_TAG_member
71 .long .Linfo_string11 # DW_AT_name
72 .long 76 # DW_AT_type
73 .byte 1 # DW_AT_decl_file
74 .byte 4 # DW_AT_decl_line
75 .byte 16 # DW_AT_data_member_location
76 .byte 0 # End Of Children Mark
77 .byte 4 # Abbrev [4] 0x4c:0x5 DW_TAG_pointer_type
78 .long 81 # DW_AT_type
79 .byte 5 # Abbrev [5] 0x51:0x7 DW_TAG_base_type
80 .long .Linfo_string7 # DW_AT_name
81 .byte 6 # DW_AT_encoding
82 .byte 1 # DW_AT_byte_size
83 .byte 0 # End Of Children Mark
84 .Ldebug_info_end0:
85 .section .debug_abbrev,"",@progbits
86 .byte 1 # Abbreviation Code
87 .byte 65 # DW_TAG_type_unit
88 .byte 1 # DW_CHILDREN_yes
89 .byte 19 # DW_AT_language
90 .byte 5 # DW_FORM_data2
91 .byte 16 # DW_AT_stmt_list
92 .byte 23 # DW_FORM_sec_offset
93 .byte 0 # EOM(1)
94 .byte 0 # EOM(2)
95 .byte 2 # Abbreviation Code
96 .byte 19 # DW_TAG_structure_type
97 .byte 1 # DW_CHILDREN_yes
98 .byte 54 # DW_AT_calling_convention
99 .byte 11 # DW_FORM_data1
100 .byte 3 # DW_AT_name
101 .byte 14 # DW_FORM_strp
102 .byte 11 # DW_AT_byte_size
103 .byte 11 # DW_FORM_data1
104 .byte 58 # DW_AT_decl_file
105 .byte 11 # DW_FORM_data1
106 .byte 59 # DW_AT_decl_line
107 .byte 11 # DW_FORM_data1
108 .byte 0 # EOM(1)
109 .byte 0 # EOM(2)
110 .byte 3 # Abbreviation Code
111 .byte 13 # DW_TAG_member
112 .byte 0 # DW_CHILDREN_no
113 .byte 3 # DW_AT_name
114 .byte 14 # DW_FORM_strp
115 .byte 73 # DW_AT_type
116 .byte 19 # DW_FORM_ref4
117 .byte 58 # DW_AT_decl_file
118 .byte 11 # DW_FORM_data1
119 .byte 59 # DW_AT_decl_line
120 .byte 11 # DW_FORM_data1
121 .byte 56 # DW_AT_data_member_location
122 .byte 11 # DW_FORM_data1
123 .byte 0 # EOM(1)
124 .byte 0 # EOM(2)
125 .byte 4 # Abbreviation Code
126 .byte 15 # DW_TAG_pointer_type
127 .byte 0 # DW_CHILDREN_no
128 .byte 73 # DW_AT_type
129 .byte 19 # DW_FORM_ref4
130 .byte 0 # EOM(1)
131 .byte 0 # EOM(2)
132 .byte 5 # Abbreviation Code
133 .byte 36 # DW_TAG_base_type
134 .byte 0 # DW_CHILDREN_no
135 .byte 3 # DW_AT_name
136 .byte 14 # DW_FORM_strp
137 .byte 62 # DW_AT_encoding
138 .byte 11 # DW_FORM_data1
139 .byte 11 # DW_AT_byte_size
140 .byte 11 # DW_FORM_data1
141 .byte 0 # EOM(1)
142 .byte 0 # EOM(2)
143 .byte 6 # Abbreviation Code
144 .byte 17 # DW_TAG_compile_unit
145 .byte 1 # DW_CHILDREN_yes
146 .byte 37 # DW_AT_producer
147 .byte 14 # DW_FORM_strp
148 .byte 19 # DW_AT_language
149 .byte 5 # DW_FORM_data2
150 .byte 3 # DW_AT_name
151 .byte 14 # DW_FORM_strp
152 .byte 16 # DW_AT_stmt_list
153 .byte 23 # DW_FORM_sec_offset
154 .byte 27 # DW_AT_comp_dir
155 .byte 14 # DW_FORM_strp
156 .byte 17 # DW_AT_low_pc
157 .byte 1 # DW_FORM_addr
158 .byte 18 # DW_AT_high_pc
159 .byte 6 # DW_FORM_data4
160 .byte 0 # EOM(1)
161 .byte 0 # EOM(2)
162 .byte 7 # Abbreviation Code
163 .byte 46 # DW_TAG_subprogram
164 .byte 1 # DW_CHILDREN_yes
165 .byte 17 # DW_AT_low_pc
166 .byte 1 # DW_FORM_addr
167 .byte 18 # DW_AT_high_pc
168 .byte 6 # DW_FORM_data4
169 .byte 64 # DW_AT_frame_base
170 .byte 24 # DW_FORM_exprloc
171 .byte 3 # DW_AT_name
172 .byte 14 # DW_FORM_strp
173 .byte 58 # DW_AT_decl_file
174 .byte 11 # DW_FORM_data1
175 .byte 59 # DW_AT_decl_line
176 .byte 11 # DW_FORM_data1
177 .byte 73 # DW_AT_type
178 .byte 19 # DW_FORM_ref4
179 .byte 63 # DW_AT_external
180 .byte 25 # DW_FORM_flag_present
181 .byte 0 # EOM(1)
182 .byte 0 # EOM(2)
183 .byte 8 # Abbreviation Code
184 .byte 5 # DW_TAG_formal_parameter
185 .byte 0 # DW_CHILDREN_no
186 .byte 2 # DW_AT_location
187 .byte 24 # DW_FORM_exprloc
188 .byte 3 # DW_AT_name
189 .byte 14 # DW_FORM_strp
190 .byte 58 # DW_AT_decl_file
191 .byte 11 # DW_FORM_data1
192 .byte 59 # DW_AT_decl_line
193 .byte 11 # DW_FORM_data1
194 .byte 73 # DW_AT_type
195 .byte 19 # DW_FORM_ref4
196 .byte 0 # EOM(1)
197 .byte 0 # EOM(2)
198 .byte 9 # Abbreviation Code
199 .byte 52 # DW_TAG_variable
200 .byte 0 # DW_CHILDREN_no
201 .byte 2 # DW_AT_location
202 .byte 24 # DW_FORM_exprloc
203 .byte 3 # DW_AT_name
204 .byte 14 # DW_FORM_strp
205 .byte 58 # DW_AT_decl_file
206 .byte 11 # DW_FORM_data1
207 .byte 59 # DW_AT_decl_line
208 .byte 11 # DW_FORM_data1
209 .byte 73 # DW_AT_type
210 .byte 19 # DW_FORM_ref4
211 .byte 0 # EOM(1)
212 .byte 0 # EOM(2)
213 .byte 10 # Abbreviation Code
214 .byte 19 # DW_TAG_structure_type
215 .byte 0 # DW_CHILDREN_no
216 .byte 60 # DW_AT_declaration
217 .byte 25 # DW_FORM_flag_present
218 .byte 105 # DW_AT_signature
219 .byte 32 # DW_FORM_ref_sig8
220 .byte 0 # EOM(1)
221 .byte 0 # EOM(2)
222 .byte 0 # EOM(3)
223 .section .debug_info,"",@progbits
224 .Lcu_begin0:
225 .long .Ldebug_info_end1-.Ldebug_info_start1 # Length of Unit
226 .Ldebug_info_start1:
227 .short 4 # DWARF version number
228 .long .debug_abbrev # Offset Into Abbrev. Section
229 .byte 8 # Address Size (in bytes)
230 .byte 6 # Abbrev [6] 0xb:0x85 DW_TAG_compile_unit
231 .long .Linfo_string0 # DW_AT_producer
232 .short 33 # DW_AT_language
233 .long .Linfo_string1 # DW_AT_name
234 .long .Lline_table_start0 # DW_AT_stmt_list
235 .long .Linfo_string2 # DW_AT_comp_dir
236 .quad .Lfunc_begin0 # DW_AT_low_pc
237 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
238 .byte 7 # Abbrev [7] 0x2a:0x44 DW_TAG_subprogram
239 .quad .Lfunc_begin0 # DW_AT_low_pc
240 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
241 .byte 1 # DW_AT_frame_base
242 .byte 86
243 .long .Linfo_string3 # DW_AT_name
244 .byte 1 # DW_AT_decl_file
245 .byte 6 # DW_AT_decl_line
246 .long 110 # DW_AT_type
247 # DW_AT_external
248 .byte 8 # Abbrev [8] 0x43:0xe DW_TAG_formal_parameter
249 .byte 2 # DW_AT_location
250 .byte 145
251 .byte 120
252 .long .Linfo_string5 # DW_AT_name
253 .byte 1 # DW_AT_decl_file
254 .byte 6 # DW_AT_decl_line
255 .long 110 # DW_AT_type
256 .byte 8 # Abbrev [8] 0x51:0xe DW_TAG_formal_parameter
257 .byte 2 # DW_AT_location
258 .byte 145
259 .byte 112
260 .long .Linfo_string6 # DW_AT_name
261 .byte 1 # DW_AT_decl_file
262 .byte 6 # DW_AT_decl_line
263 .long 117 # DW_AT_type
264 .byte 9 # Abbrev [9] 0x5f:0xe DW_TAG_variable
265 .byte 2 # DW_AT_location
266 .byte 145
267 .byte 88
268 .long .Linfo_string8 # DW_AT_name
269 .byte 1 # DW_AT_decl_file
270 .byte 7 # DW_AT_decl_line
271 .long 134 # DW_AT_type
272 .byte 0 # End Of Children Mark
273 .byte 5 # Abbrev [5] 0x6e:0x7 DW_TAG_base_type
274 .long .Linfo_string4 # DW_AT_name
275 .byte 5 # DW_AT_encoding
276 .byte 4 # DW_AT_byte_size
277 .byte 4 # Abbrev [4] 0x75:0x5 DW_TAG_pointer_type
278 .long 122 # DW_AT_type
279 .byte 4 # Abbrev [4] 0x7a:0x5 DW_TAG_pointer_type
280 .long 127 # DW_AT_type
281 .byte 5 # Abbrev [5] 0x7f:0x7 DW_TAG_base_type
282 .long .Linfo_string7 # DW_AT_name
283 .byte 6 # DW_AT_encoding
284 .byte 1 # DW_AT_byte_size
285 .byte 10 # Abbrev [10] 0x86:0x9 DW_TAG_structure_type
286 # DW_AT_declaration
287 .quad 7448148824980338162 # DW_AT_signature
288 .byte 0 # End Of Children Mark
289 .Ldebug_info_end1:
290 .section .debug_str,"MS",@progbits,1
291 .Linfo_string0:
292 .asciz "Facebook clang version 15.0.0 (ssh://git-ro.vip.facebook.com/data/gitrepos/osmeta/external/llvm-project e11a3497eb7c3f5a9d56030f25e27e0522994d62)" # string offset=0
293 .Linfo_string1:
294 .asciz "main.cpp" # string offset=146
295 .Linfo_string2:
296 .asciz "dwarf4-duplicate-types-test" # string offset=155
297 .Linfo_string3:
298 .asciz "main" # string offset=221
299 .Linfo_string4:
300 .asciz "int" # string offset=226
301 .Linfo_string5:
302 .asciz "argc" # string offset=230
303 .Linfo_string6:
304 .asciz "argv" # string offset=235
305 .Linfo_string7:
306 .asciz "char" # string offset=240
307 .Linfo_string8:
308 .asciz "f" # string offset=245
309 .Linfo_string9:
310 .asciz "c1" # string offset=247
311 .Linfo_string10:
312 .asciz "c2" # string offset=250
313 .Linfo_string11:
314 .asciz "c3" # string offset=253
315 .Linfo_string12:
316 .asciz "Foo" # string offset=256
317 .ident "Facebook clang version 15.0.0 (ssh://git-ro.vip.facebook.com/data/gitrepos/osmeta/external/llvm-project e11a3497eb7c3f5a9d56030f25e27e0522994d62)"
318 .section ".note.GNU-stack","",@progbits
319 .addrsig
320 .section .debug_line,"",@progbits
321 .Lline_table_start0: