discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Patch: Exception Handling in libobjc2 with latest clang builds


From: David Chisnall
Subject: Re: Patch: Exception Handling in libobjc2 with latest clang builds
Date: Tue, 11 Mar 2014 09:41:25 +0900

On 11 Mar 2014, at 01:39, Logan Chien <tzuhsiang.chien@gmail.com> wrote:

> I am using libsupc++ (or libstdc++) when I was testing, thus I think there 
> might be some problem with the foreign exception handling in libobjc2 
> run-time.  The output shows that the C++ exception is incorrectly caught by 
> the Objective-C handler, which expecting an Objective-C id.  I am keep trying 
> to figure out.

It's possible that it's using the wrong ABI.  Do you see calls to 
objc_begin_catch in the compiler output?  If not, then foreign exceptions are 
probably not expected to work.  

> I have checked libcxxrt as well.  It seems that it does not have the same 
> problem.  The _URC_CONTINUE_UNWIND has been wrapped by continueUnwinding() 
> properly.

Thanks!

David


-- Send from my Jacquard Loom




reply via email to

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