[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498
[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables
--- Comment #9 from jakub at gcc dot gnu dot org 2010-03-24 11:59 --- Actually, as the thunks are emitted before .eh_frame, it is much easier. -- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2010-03-23 19:13:40 |2010-03-24 11:59:53 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498
[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables
--- Comment #10 from jakub at gcc dot gnu dot org 2010-03-24 12:06 --- Created an attachment (id=20182) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20182action=view) gcc45-pr43498.patch Patch to emit unwind info for thunks on x86, x86-64 and s390{,x}. ppc/ppc64, sparc/sparc64 and ia64 (from arches that I care at least a little bit about) should be outputting unwind info already before this change. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498
[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables
--- Comment #11 from jakub at gcc dot gnu dot org 2010-03-24 20:31 --- Subject: Bug 43498 Author: jakub Date: Wed Mar 24 20:31:09 2010 New Revision: 157706 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157706 Log: PR target/43498 * config/i386/i386.c (x86_output_mi_thunk): Call final_start_function at the beginning and final_end_function at the end. * config/s390/s390.c (s390_output_mi_thunk): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/config/s390/s390.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498
[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables
--- Comment #12 from jakub at gcc dot gnu dot org 2010-03-24 20:52 --- Should be fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498
[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables
--- Comment #7 from pinskia at gcc dot gnu dot org 2010-03-23 19:13 --- The x86-64 target writes directly out asm rather than going through some RTL code which causes unwind tables not to be written out for the thunks. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|middle-end |target Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-03-23 19:13:40 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498
[Bug target/43498] No unwind info for thunks even with -fasynchronous-unwind-tables
--- Comment #8 from jakub at gcc dot gnu dot org 2010-03-23 22:10 --- At least when using CFI asm this is solvable easily, see how I've changed i386 PIC setup generation. Without CFI asm it would be much harder though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43498