]> git.ipfire.org Git - thirdparty/gcc.git/blob - libvtv/testsuite/environment-fail-32.s
cac501652a78e1c917562d7fe39df43c38b9a8d3
[thirdparty/gcc.git] / libvtv / testsuite / environment-fail-32.s
1 .file "environment.cc"
2 .section .text._ZN15EnvironmentImpl6GetVarEPKcPc,"axG",@progbits,_ZN15EnvironmentImpl6GetVarEPKcPc,comdat
3 .align 2
4 .weak _ZN15EnvironmentImpl6GetVarEPKcPc
5 .type _ZN15EnvironmentImpl6GetVarEPKcPc, @function
6 _ZN15EnvironmentImpl6GetVarEPKcPc:
7 .LFB0:
8 .cfi_startproc
9 pushl %ebp
10 .cfi_def_cfa_offset 8
11 .cfi_offset 5, -8
12 movl %esp, %ebp
13 .cfi_def_cfa_register 5
14 movl $1, %eax
15 popl %ebp
16 .cfi_restore 5
17 .cfi_def_cfa 4, 4
18 ret
19 .cfi_endproc
20 .LFE0:
21 .size _ZN15EnvironmentImpl6GetVarEPKcPc, .-_ZN15EnvironmentImpl6GetVarEPKcPc
22 .text
23 .align 2
24 .globl _ZN11EnvironmentD2Ev
25 .type _ZN11EnvironmentD2Ev, @function
26 _ZN11EnvironmentD2Ev:
27 .LFB2:
28 .cfi_startproc
29 pushl %ebp
30 .cfi_def_cfa_offset 8
31 .cfi_offset 5, -8
32 movl %esp, %ebp
33 .cfi_def_cfa_register 5
34 pushl %ebx
35 subl $20, %esp
36 .cfi_offset 3, -12
37 call __x86.get_pc_thunk.bx
38 addl $_GLOBAL_OFFSET_TABLE_, %ebx
39 movl 8(%ebp), %eax
40 movl _ZTV11Environment@GOT(%ebx), %edx
41 leal 8(%edx), %edx
42 movl %edx, (%eax)
43 movl $0, %eax
44 testl %eax, %eax
45 je .L3
46 movl 8(%ebp), %eax
47 movl %eax, (%esp)
48 call _ZdlPv@PLT
49 .L3:
50 addl $20, %esp
51 popl %ebx
52 .cfi_restore 3
53 popl %ebp
54 .cfi_restore 5
55 .cfi_def_cfa 4, 4
56 ret
57 .cfi_endproc
58 .LFE2:
59 .size _ZN11EnvironmentD2Ev, .-_ZN11EnvironmentD2Ev
60 .globl _ZN11EnvironmentD1Ev
61 .set _ZN11EnvironmentD1Ev,_ZN11EnvironmentD2Ev
62 .align 2
63 .globl _ZN11EnvironmentD0Ev
64 .type _ZN11EnvironmentD0Ev, @function
65 _ZN11EnvironmentD0Ev:
66 .LFB4:
67 .cfi_startproc
68 pushl %ebp
69 .cfi_def_cfa_offset 8
70 .cfi_offset 5, -8
71 movl %esp, %ebp
72 .cfi_def_cfa_register 5
73 pushl %ebx
74 subl $20, %esp
75 .cfi_offset 3, -12
76 call __x86.get_pc_thunk.bx
77 addl $_GLOBAL_OFFSET_TABLE_, %ebx
78 movl 8(%ebp), %eax
79 movl %eax, (%esp)
80 call _ZN11EnvironmentD1Ev@PLT
81 movl 8(%ebp), %eax
82 movl %eax, (%esp)
83 call _ZdlPv@PLT
84 addl $20, %esp
85 popl %ebx
86 .cfi_restore 3
87 popl %ebp
88 .cfi_restore 5
89 .cfi_def_cfa 4, 4
90 ret
91 .cfi_endproc
92 .LFE4:
93 .size _ZN11EnvironmentD0Ev, .-_ZN11EnvironmentD0Ev
94 .section .text._ZN11EnvironmentC2Ev,"axG",@progbits,_ZN11EnvironmentC5Ev,comdat
95 .align 2
96 .weak _ZN11EnvironmentC2Ev
97 .type _ZN11EnvironmentC2Ev, @function
98 _ZN11EnvironmentC2Ev:
99 .LFB8:
100 .cfi_startproc
101 pushl %ebp
102 .cfi_def_cfa_offset 8
103 .cfi_offset 5, -8
104 movl %esp, %ebp
105 .cfi_def_cfa_register 5
106 call __x86.get_pc_thunk.cx
107 addl $_GLOBAL_OFFSET_TABLE_, %ecx
108 movl 8(%ebp), %eax
109 movl _ZTV11Environment@GOT(%ecx), %edx
110 leal 8(%edx), %edx
111 movl %edx, (%eax)
112 popl %ebp
113 .cfi_restore 5
114 .cfi_def_cfa 4, 4
115 ret
116 .cfi_endproc
117 .LFE8:
118 .size _ZN11EnvironmentC2Ev, .-_ZN11EnvironmentC2Ev
119 .weak _ZN11EnvironmentC1Ev
120 .set _ZN11EnvironmentC1Ev,_ZN11EnvironmentC2Ev
121 .section .text._ZN15EnvironmentImplC2Ev,"axG",@progbits,_ZN15EnvironmentImplC5Ev,comdat
122 .align 2
123 .weak _ZN15EnvironmentImplC2Ev
124 .type _ZN15EnvironmentImplC2Ev, @function
125 _ZN15EnvironmentImplC2Ev:
126 .LFB10:
127 .cfi_startproc
128 pushl %ebp
129 .cfi_def_cfa_offset 8
130 .cfi_offset 5, -8
131 movl %esp, %ebp
132 .cfi_def_cfa_register 5
133 pushl %ebx
134 subl $20, %esp
135 .cfi_offset 3, -12
136 call __x86.get_pc_thunk.bx
137 addl $_GLOBAL_OFFSET_TABLE_, %ebx
138 movl 8(%ebp), %eax
139 movl %eax, (%esp)
140 call _ZN11EnvironmentC2Ev@PLT
141 movl 8(%ebp), %eax
142 movl _ZTV15EnvironmentImpl@GOT(%ebx), %edx
143 leal 8(%edx), %edx
144 movl %edx, (%eax)
145 addl $20, %esp
146 popl %ebx
147 .cfi_restore 3
148 popl %ebp
149 .cfi_restore 5
150 .cfi_def_cfa 4, 4
151 ret
152 .cfi_endproc
153 .LFE10:
154 .size _ZN15EnvironmentImplC2Ev, .-_ZN15EnvironmentImplC2Ev
155 .weak _ZN15EnvironmentImplC1Ev
156 .set _ZN15EnvironmentImplC1Ev,_ZN15EnvironmentImplC2Ev
157 .text
158 .align 2
159 .globl _ZN11Environment6CreateEv
160 .type _ZN11Environment6CreateEv, @function
161 _ZN11Environment6CreateEv:
162 .LFB5:
163 .cfi_startproc
164 pushl %ebp
165 .cfi_def_cfa_offset 8
166 .cfi_offset 5, -8
167 movl %esp, %ebp
168 .cfi_def_cfa_register 5
169 pushl %esi
170 pushl %ebx
171 subl $16, %esp
172 .cfi_offset 6, -12
173 .cfi_offset 3, -16
174 call __x86.get_pc_thunk.bx
175 addl $_GLOBAL_OFFSET_TABLE_, %ebx
176 movl $4, (%esp)
177 call _Znwj@PLT
178 movl %eax, %esi
179 movl $0, (%esi)
180 movl %esi, (%esp)
181 call _ZN15EnvironmentImplC1Ev@PLT
182 movl %esi, %eax
183 addl $16, %esp
184 popl %ebx
185 .cfi_restore 3
186 popl %esi
187 .cfi_restore 6
188 popl %ebp
189 .cfi_restore 5
190 .cfi_def_cfa 4, 4
191 ret
192 .cfi_endproc
193 .LFE5:
194 .size _ZN11Environment6CreateEv, .-_ZN11Environment6CreateEv
195 .section .rodata
196 .LC0:
197 .string "%p\n"
198 .text
199 .globl main
200 .type main, @function
201 main:
202 .LFB12:
203 .cfi_startproc
204 pushl %ebp
205 .cfi_def_cfa_offset 8
206 .cfi_offset 5, -8
207 movl %esp, %ebp
208 .cfi_def_cfa_register 5
209 pushl %ebx
210 andl $-16, %esp
211 subl $32, %esp
212 .cfi_offset 3, -12
213 call __x86.get_pc_thunk.bx
214 addl $_GLOBAL_OFFSET_TABLE_, %ebx
215 movl $0, 28(%esp)
216 call _ZN11Environment6CreateEv@PLT
217 movl %eax, 24(%esp)
218 movl 24(%esp), %eax
219 movl (%eax), %eax
220 movl %eax, 4(%esp)
221 leal _ZN4_VTVI11EnvironmentE12__vtable_mapE@GOTOFF(%ebx), %eax
222 movl %eax, (%esp)
223 call _Z24__VLTVerifyVtablePointerPPvPKv@PLT
224 addl $8, %eax
225 movl (%eax), %eax
226 movl 28(%esp), %edx
227 movl %edx, 8(%esp)
228 movl $0, 4(%esp)
229 movl 24(%esp), %edx
230 movl %edx, (%esp)
231 call *%eax
232 movl 24(%esp), %eax
233 movl %eax, 4(%esp)
234 leal .LC0@GOTOFF(%ebx), %eax
235 movl %eax, (%esp)
236 call printf@PLT
237 movl $0, %eax
238 movl -4(%ebp), %ebx
239 leave
240 .cfi_restore 5
241 .cfi_restore 3
242 .cfi_def_cfa 4, 4
243 ret
244 .cfi_endproc
245 .LFE12:
246 .size main, .-main
247 .weak _ZTV11Environment
248 .section .data.rel.ro._ZTV11Environment,"awG",@progbits,_ZTV11Environment,comdat
249 .align 8
250 .type _ZTV11Environment, @object
251 .size _ZTV11Environment, 20
252 _ZTV11Environment:
253 .long 0
254 .long _ZTI11Environment
255 .long _ZN11EnvironmentD1Ev
256 .long _ZN11EnvironmentD0Ev
257 .long __cxa_pure_virtual
258 .weak _ZTV15EnvironmentImpl
259 .section .data.rel.ro._ZTV15EnvironmentImpl,"awG",@progbits,_ZTV15EnvironmentImpl,comdat
260 .align 8
261 .type _ZTV15EnvironmentImpl, @object
262 .size _ZTV15EnvironmentImpl, 20
263 _ZTV15EnvironmentImpl:
264 .long 0
265 .long _ZTI15EnvironmentImpl
266 .long _ZN15EnvironmentImplD1Ev
267 .long _ZN15EnvironmentImplD0Ev
268 .long _ZN15EnvironmentImpl6GetVarEPKcPc
269 .section .text._ZN15EnvironmentImplD2Ev,"axG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
270 .align 2
271 .weak _ZN15EnvironmentImplD2Ev
272 .type _ZN15EnvironmentImplD2Ev, @function
273 _ZN15EnvironmentImplD2Ev:
274 .LFB14:
275 .cfi_startproc
276 .cfi_personality 0x9b,DW.ref.__gxx_personality_v0
277 .cfi_lsda 0x1b,.LLSDA14
278 pushl %ebp
279 .cfi_def_cfa_offset 8
280 .cfi_offset 5, -8
281 movl %esp, %ebp
282 .cfi_def_cfa_register 5
283 pushl %ebx
284 subl $20, %esp
285 .cfi_offset 3, -12
286 call __x86.get_pc_thunk.bx
287 addl $_GLOBAL_OFFSET_TABLE_, %ebx
288 movl 8(%ebp), %eax
289 movl _ZTV15EnvironmentImpl@GOT(%ebx), %edx
290 leal 8(%edx), %edx
291 movl %edx, (%eax)
292 movl 8(%ebp), %eax
293 movl %eax, (%esp)
294 .LEHB0:
295 call _ZN11EnvironmentD2Ev@PLT
296 .LEHE0:
297 movl $0, %eax
298 testl %eax, %eax
299 je .L19
300 movl 8(%ebp), %eax
301 movl %eax, (%esp)
302 call _ZdlPv@PLT
303 jmp .L19
304 .L18:
305 movl %eax, (%esp)
306 .LEHB1:
307 call _Unwind_Resume@PLT
308 .LEHE1:
309 .L19:
310 addl $20, %esp
311 popl %ebx
312 .cfi_restore 3
313 popl %ebp
314 .cfi_restore 5
315 .cfi_def_cfa 4, 4
316 ret
317 .cfi_endproc
318 .LFE14:
319 .globl __gxx_personality_v0
320 .section .gcc_except_table._ZN15EnvironmentImplD2Ev,"aG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
321 .LLSDA14:
322 .byte 0xff
323 .byte 0xff
324 .byte 0x1
325 .uleb128 .LLSDACSE14-.LLSDACSB14
326 .LLSDACSB14:
327 .uleb128 .LEHB0-.LFB14
328 .uleb128 .LEHE0-.LEHB0
329 .uleb128 .L18-.LFB14
330 .uleb128 0
331 .uleb128 .LEHB1-.LFB14
332 .uleb128 .LEHE1-.LEHB1
333 .uleb128 0
334 .uleb128 0
335 .LLSDACSE14:
336 .section .text._ZN15EnvironmentImplD2Ev,"axG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
337 .size _ZN15EnvironmentImplD2Ev, .-_ZN15EnvironmentImplD2Ev
338 .weak _ZN15EnvironmentImplD1Ev
339 .set _ZN15EnvironmentImplD1Ev,_ZN15EnvironmentImplD2Ev
340 .section .text._ZN15EnvironmentImplD0Ev,"axG",@progbits,_ZN15EnvironmentImplD0Ev,comdat
341 .align 2
342 .weak _ZN15EnvironmentImplD0Ev
343 .type _ZN15EnvironmentImplD0Ev, @function
344 _ZN15EnvironmentImplD0Ev:
345 .LFB16:
346 .cfi_startproc
347 pushl %ebp
348 .cfi_def_cfa_offset 8
349 .cfi_offset 5, -8
350 movl %esp, %ebp
351 .cfi_def_cfa_register 5
352 pushl %ebx
353 subl $20, %esp
354 .cfi_offset 3, -12
355 call __x86.get_pc_thunk.bx
356 addl $_GLOBAL_OFFSET_TABLE_, %ebx
357 movl 8(%ebp), %eax
358 movl %eax, (%esp)
359 call _ZN15EnvironmentImplD1Ev@PLT
360 movl 8(%ebp), %eax
361 movl %eax, (%esp)
362 call _ZdlPv@PLT
363 addl $20, %esp
364 popl %ebx
365 .cfi_restore 3
366 popl %ebp
367 .cfi_restore 5
368 .cfi_def_cfa 4, 4
369 ret
370 .cfi_endproc
371 .LFE16:
372 .size _ZN15EnvironmentImplD0Ev, .-_ZN15EnvironmentImplD0Ev
373 .weak _ZTS15EnvironmentImpl
374 .section .rodata._ZTS15EnvironmentImpl,"aG",@progbits,_ZTS15EnvironmentImpl,comdat
375 .type _ZTS15EnvironmentImpl, @object
376 .size _ZTS15EnvironmentImpl, 18
377 _ZTS15EnvironmentImpl:
378 .string "15EnvironmentImpl"
379 .weak _ZTI15EnvironmentImpl
380 .section .data.rel.ro._ZTI15EnvironmentImpl,"awG",@progbits,_ZTI15EnvironmentImpl,comdat
381 .align 4
382 .type _ZTI15EnvironmentImpl, @object
383 .size _ZTI15EnvironmentImpl, 12
384 _ZTI15EnvironmentImpl:
385 .long _ZTVN10__cxxabiv120__si_class_type_infoE+8
386 .long _ZTS15EnvironmentImpl
387 .long _ZTI11Environment
388 .weak _ZTI11Environment
389 .section .data.rel.ro._ZTI11Environment,"awG",@progbits,_ZTI11Environment,comdat
390 .align 4
391 .type _ZTI11Environment, @object
392 .size _ZTI11Environment, 8
393 _ZTI11Environment:
394 .long _ZTVN10__cxxabiv117__class_type_infoE+8
395 .long _ZTS11Environment
396 .weak _ZTS11Environment
397 .section .rodata._ZTS11Environment,"aG",@progbits,_ZTS11Environment,comdat
398 .type _ZTS11Environment, @object
399 .size _ZTS11Environment, 14
400 _ZTS11Environment:
401 .string "11Environment"
402 .hidden _ZN4_VTVI11EnvironmentE12__vtable_mapE
403 .weak _ZN4_VTVI11EnvironmentE12__vtable_mapE
404 .section .vtable_map_vars,"awG",@progbits,_ZN4_VTVI11EnvironmentE12__vtable_mapE,comdat
405 .align 4
406 .type _ZN4_VTVI11EnvironmentE12__vtable_mapE, @gnu_unique_object
407 .size _ZN4_VTVI11EnvironmentE12__vtable_mapE, 4
408 _ZN4_VTVI11EnvironmentE12__vtable_mapE:
409 .zero 4
410 .hidden _ZN4_VTVI15EnvironmentImplE12__vtable_mapE
411 .weak _ZN4_VTVI15EnvironmentImplE12__vtable_mapE
412 .section .vtable_map_vars,"awG",@progbits,_ZN4_VTVI15EnvironmentImplE12__vtable_mapE,comdat
413 .align 4
414 .type _ZN4_VTVI15EnvironmentImplE12__vtable_mapE, @gnu_unique_object
415 .size _ZN4_VTVI15EnvironmentImplE12__vtable_mapE, 4
416 _ZN4_VTVI15EnvironmentImplE12__vtable_mapE:
417 .zero 4
418 .section .data.rel.ro,"aw",@progbits
419 .align 4
420 .type __vptr_array_11Environment, @object
421 .size __vptr_array_11Environment, 8
422 __vptr_array_11Environment:
423 .long _ZTV11Environment+8
424 .long _ZTV15EnvironmentImpl+8
425 .section .rodata
426 .align 4
427 .LC1:
428 .string "&"
429 .string ""
430 .string ""
431 .ascii "\224\tl\022_ZN4_VTVI11EnvironmentE12__vtable_mapE"
432 .align 4
433 .LC2:
434 .string "*"
435 .string ""
436 .string ""
437 .ascii "N\225\r\334_ZN4_VTVI15EnvironmentImplE12__vtable_mapE"
438 .text
439 .type _GLOBAL__sub_I.00099_environment.cc, @function
440 _GLOBAL__sub_I.00099_environment.cc:
441 .LFB17:
442 .cfi_startproc
443 pushl %ebp
444 .cfi_def_cfa_offset 8
445 .cfi_offset 5, -8
446 movl %esp, %ebp
447 .cfi_def_cfa_register 5
448 pushl %ebx
449 subl $36, %esp
450 .cfi_offset 3, -12
451 call __x86.get_pc_thunk.bx
452 addl $_GLOBAL_OFFSET_TABLE_, %ebx
453 leal __vptr_array_11Environment@GOTOFF(%ebx), %eax
454 movl %eax, 16(%esp)
455 movl $2, 12(%esp)
456 movl $2, 8(%esp)
457 leal .LC1@GOTOFF(%ebx), %eax
458 movl %eax, 4(%esp)
459 leal _ZN4_VTVI11EnvironmentE12__vtable_mapE@GOTOFF(%ebx), %eax
460 movl %eax, (%esp)
461 movl _ZTV15EnvironmentImpl@GOT(%ebx), %eax
462 leal 8(%eax), %eax
463 movl %eax, 12(%esp)
464 movl $1, 8(%esp)
465 leal .LC2@GOTOFF(%ebx), %eax
466 movl %eax, 4(%esp)
467 leal _ZN4_VTVI15EnvironmentImplE12__vtable_mapE@GOTOFF(%ebx), %eax
468 movl %eax, (%esp)
469 call _Z17__VLTRegisterPairPPvPKvjS2_@PLT
470 addl $36, %esp
471 popl %ebx
472 .cfi_restore 3
473 popl %ebp
474 .cfi_restore 5
475 .cfi_def_cfa 4, 4
476 ret
477 .cfi_endproc
478 .LFE17:
479 .size _GLOBAL__sub_I.00099_environment.cc, .-_GLOBAL__sub_I.00099_environment.cc
480 .section .init_array.00099,"aw"
481 .align 4
482 .long _GLOBAL__sub_I.00099_environment.cc
483 .section .text.__x86.get_pc_thunk.cx,"axG",@progbits,__x86.get_pc_thunk.cx,comdat
484 .globl __x86.get_pc_thunk.cx
485 .hidden __x86.get_pc_thunk.cx
486 .type __x86.get_pc_thunk.cx, @function
487 __x86.get_pc_thunk.cx:
488 .LFB18:
489 .cfi_startproc
490 movl (%esp), %ecx
491 ret
492 .cfi_endproc
493 .LFE18:
494 .section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
495 .globl __x86.get_pc_thunk.bx
496 .hidden __x86.get_pc_thunk.bx
497 .type __x86.get_pc_thunk.bx, @function
498 __x86.get_pc_thunk.bx:
499 .LFB19:
500 .cfi_startproc
501 movl (%esp), %ebx
502 ret
503 .cfi_endproc
504 .LFE19:
505 .hidden DW.ref.__gxx_personality_v0
506 .weak DW.ref.__gxx_personality_v0
507 .section .data.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
508 .align 4
509 .type DW.ref.__gxx_personality_v0, @object
510 .size DW.ref.__gxx_personality_v0, 4
511 DW.ref.__gxx_personality_v0:
512 .long __gxx_personality_v0
513 .ident "GCC: (GNU) 4.9.0 20130616 (experimental)"
514 .section .note.GNU-stack,"",@progbits