1 // Generated from g++ exception4.cpp -fomit-frame-pointer -S -O3
2 // Manually modified to trigger shrink-wrapping in function main
6 .type _Z3fooi, @function
11 .cfi_def_cfa_offset 16
15 call __cxa_allocate_exception
21 call __cxa_allocate_exception
28 .size _Z3fooi, .-_Z3fooi
30 .globl _Z11filter_onlyi
31 .type _Z11filter_onlyi, @function
35 .cfi_personality 0x3,__gxx_personality_v0
36 .cfi_lsda 0x3,.LLSDA13
38 .cfi_def_cfa_offset 16
49 call __cxa_call_unexpected
53 .globl __gxx_personality_v0
54 .section .gcc_except_table,"a",@progbits
59 .uleb128 .LLSDATT13-.LLSDATTD13
62 .uleb128 .LLSDACSE13-.LLSDACSB13
64 .uleb128 .LEHB0-.LFB13
65 .uleb128 .LEHE0-.LEHB0
68 .uleb128 .LEHB1-.LFB13
69 .uleb128 .LEHE1-.LEHB1
91 .size _Z11filter_onlyi, .-_Z11filter_onlyi
92 .section .rodata.str1.8,"aMS",@progbits,1
95 .string "this statement is cold and should be outlined"
98 .globl _Z12never_throwsv
99 .type _Z12never_throwsv, @function
103 .cfi_personality 0x3,__gxx_personality_v0
104 .cfi_lsda 0x3,.LLSDA14
106 .cfi_def_cfa_offset 16
113 .cfi_def_cfa_offset 8
123 call __cxa_call_unexpected
127 .section .gcc_except_table,"a",@progbits
132 .uleb128 .LLSDATT14-.LLSDATTD14
135 .uleb128 .LLSDACSE14-.LLSDACSB14
137 .uleb128 .LEHB2-.LFB14
138 .uleb128 .LEHE2-.LEHB2
141 .uleb128 .LEHB3-.LFB14
142 .uleb128 .LEHE3-.LEHB3
152 .size _Z12never_throwsv, .-_Z12never_throwsv
153 .section .rodata.str1.1,"aMS",@progbits,1
159 .string "caught ExcC"
161 .string "caught ExcG"
162 .section .text.startup,"ax",@progbits
165 .type main, @function
169 .cfi_personality 0x3,__gxx_personality_v0
170 .cfi_lsda 0x3,.LLSDA15
172 .cfi_def_cfa_offset 16
175 .cfi_def_cfa_offset 24
178 .cfi_def_cfa_offset 32
182 .cfi_def_cfa_offset 40
186 .cfi_def_cfa_offset 48
198 call __cxa_allocate_exception
200 movl $_ZTI4ExcA, %esi
206 call _Z12never_throwsv
207 call _Z12never_throwsv
214 call __cxa_begin_catch
220 call __cxa_allocate_exception
238 call __cxa_free_exception
243 call __cxa_begin_catch
253 call _Z11filter_onlyi
263 call __cxa_begin_catch
275 .cfi_def_cfa_offset 40
277 .cfi_def_cfa_offset 32
279 .cfi_def_cfa_offset 24
281 .cfi_def_cfa_offset 16
284 .cfi_def_cfa_offset 8
303 call __cxa_begin_catch
320 .section .gcc_except_table,"a",@progbits
325 .uleb128 .LLSDATT15-.LLSDATTD15
328 .uleb128 .LLSDACSE15-.LLSDACSB15
330 .uleb128 .LEHB4-.LFB15
331 .uleb128 .LEHE4-.LEHB4
334 .uleb128 .LEHB5-.LFB15
335 .uleb128 .LEHE5-.LEHB5
338 .uleb128 .LEHB6-.LFB15
339 .uleb128 .LEHE6-.LEHB6
342 .uleb128 .LEHB7-.LFB15
343 .uleb128 .LEHE7-.LEHB7
346 .uleb128 .LEHB8-.LFB15
347 .uleb128 .LEHE8-.LEHB8
350 .uleb128 .LEHB9-.LFB15
351 .uleb128 .LEHE9-.LEHB9
354 .uleb128 .LEHB10-.LFB15
355 .uleb128 .LEHE10-.LEHB10
358 .uleb128 .LEHB11-.LFB15
359 .uleb128 .LEHE11-.LEHB11
362 .uleb128 .LEHB12-.LFB15
363 .uleb128 .LEHE12-.LEHB12
366 .uleb128 .LEHB13-.LFB15
367 .uleb128 .LEHE13-.LEHB13
370 .uleb128 .LEHB14-.LFB15
371 .uleb128 .LEHE14-.LEHB14
394 .section .text.startup
397 .section .rodata._ZTI4ExcG,"aG",@progbits,_ZTI4ExcG,comdat
399 .type _ZTI4ExcG, @object
402 .quad _ZTVN10__cxxabiv117__class_type_infoE+16
405 .section .rodata._ZTS4ExcG,"aG",@progbits,_ZTS4ExcG,comdat
406 .type _ZTS4ExcG, @object
411 .section .rodata._ZTI4ExcC,"aG",@progbits,_ZTI4ExcC,comdat
413 .type _ZTI4ExcC, @object
416 .quad _ZTVN10__cxxabiv117__class_type_infoE+16
419 .section .rodata._ZTS4ExcC,"aG",@progbits,_ZTS4ExcC,comdat
420 .type _ZTS4ExcC, @object
425 .section .rodata._ZTI4ExcA,"aG",@progbits,_ZTI4ExcA,comdat
427 .type _ZTI4ExcA, @object
430 .quad _ZTVN10__cxxabiv117__class_type_infoE+16
433 .section .rodata._ZTS4ExcA,"aG",@progbits,_ZTS4ExcA,comdat
434 .type _ZTS4ExcA, @object
439 .section .rodata._ZTI4ExcB,"aG",@progbits,_ZTI4ExcB,comdat
441 .type _ZTI4ExcB, @object
444 .quad _ZTVN10__cxxabiv117__class_type_infoE+16
447 .section .rodata._ZTS4ExcB,"aG",@progbits,_ZTS4ExcB,comdat
448 .type _ZTS4ExcB, @object
453 .section .rodata._ZTI4ExcD,"aG",@progbits,_ZTI4ExcD,comdat
455 .type _ZTI4ExcD, @object
458 .quad _ZTVN10__cxxabiv117__class_type_infoE+16
461 .section .rodata._ZTS4ExcD,"aG",@progbits,_ZTS4ExcD,comdat
462 .type _ZTS4ExcD, @object
467 .section .rodata._ZTI4ExcE,"aG",@progbits,_ZTI4ExcE,comdat
469 .type _ZTI4ExcE, @object
472 .quad _ZTVN10__cxxabiv117__class_type_infoE+16
475 .section .rodata._ZTS4ExcE,"aG",@progbits,_ZTS4ExcE,comdat
476 .type _ZTS4ExcE, @object
481 .section .rodata._ZTI4ExcF,"aG",@progbits,_ZTI4ExcF,comdat
483 .type _ZTI4ExcF, @object
486 .quad _ZTVN10__cxxabiv117__class_type_infoE+16
489 .section .rodata._ZTS4ExcF,"aG",@progbits,_ZTS4ExcF,comdat
490 .type _ZTS4ExcF, @object