[cfe-dev] Initial exception support for the GNU runtime
Chris Lattner
clattner at apple.com
Thu May 7 17:12:41 PDT 2009
On May 7, 2009, at 2:52 PM, David Chisnall wrote:
> Hi Everyone,
>
> This patch is a first pass at adding support for exceptions for the
> GNU runtime. There are a few limitations at present:
>
> - @synchronized() is not yet supported at all. gcc currently emits
> calls to runtime library functions that don't exist for this
> directive.
>
> - Only id @catch statements are currently working. This is enough
> for NS_DURING and friends, but I need to spend more time reading the
> output from gcc -S to work out how it finds the class pointer to
> make arbitrary class type catch statements work.
>
> - I've tested it with a few common cases[1] and the clang test suite
> (which doesn't test exceptions for the GNU runtime, but shows I
> haven't broken anything else), but there are probably a lot of cases
> I've missed.
Thanks David, applied here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090504/016987.html
-Chris
More information about the cfe-dev
mailing list