discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mysterious crash in NSRunLoop, using libobjc2 on Linux


From: David Chisnall
Subject: Re: Mysterious crash in NSRunLoop, using libobjc2 on Linux
Date: Mon, 18 Dec 2017 20:46:13 +0000

On 18 Dec 2017, at 20:28, Lobron, David <address@hidden> wrote:
> 
> This surprised me a bit.  I would not expect an ObjC stack frame to coerce 
> the exception to be C++ (although of course I might be wrong).  Did you mean 
> to say it's coerced to a C++ exception if it's thrown from a *C++* stack 
> frame, or ObjC++?

When an ObjC stack frame throws, it throws an ObjC exception.  When you unwind 
through an ObjC++ stack frame, the exception is coerced to a C++ exception and 
then forwarded to the C++ personality function.

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]