[RFA] PR libobjc/27466 unexpected exception handler V2
David Ayers
ayers@fsfe.org
Mon Feb 23 21:22:00 GMT 2009
Hello,
so here is V2 of a fix for PR27466, adding support for an unexpected
exception handler which is needed by libraries to use libobjc's
exception support.
This patch is derived from the patch posted at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27466
yet it uses a global variables as a hook, as is usually done in libobjc.
This patch has been bootstrapped and regression tested on i686-pc-linux-gnu.
OK to commit to trunk?
2009-02-23 Richard Frith-Macdonald <rfm@gnu.org>
David Ayers <ayers@fsfe.org>
PR libobjc/27466
* objc/objc-api.h (_objc_unexpected_exception): Declare new
hook.
* exception.c (objc_exception_throw): Use hook.
* libobjc.def (_objc_unexpected_exception): Export hook.
2009-02-23 David Ayers <ayers@fsfe.org>
PR libobjc/27466
* objc/execute/exceptions/handler-1.m. New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-ayers.patch
Type: text/x-patch
Size: 2521 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090223/1c15834d/attachment.bin>
More information about the Gcc-patches
mailing list