On Mar 21, 2011, at 2:06 PM, Kyle Sluder wrote:
> On Mon, Mar 21, 2011 at 2:03 PM, Greg Parker <gpar...@apple.com> wrote:
>> You can't currently throw an exception across a forwarded call. When the 
>> exception unwinder hits the forwarding frame, it stops and the exception 
>> goes uncaught. You'll need to put your exception handler at a different 
>> level.
> 
> Does this limitation exist on the desktop as well?

I'm pretty sure it fails on any platform that uses the modern ABI (iOS and 
64-bit Mac), but I can't find the bug report at the moment.

(The problem is that the forwarding machinery is hand-written assembly, and 
nobody added hand-written exception unwind tables to match. With "zero-cost" 
exceptions, the unwinder cannot process a frame without its unwind tables.)


-- 
Greg Parker     gpar...@apple.com     Runtime Wrangler


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to