[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: |
Mon, 10 Mar 2014 19:30:34 +0900 |
You forgot to include the patch...
If you want C++ exceptions to work, then you should have a look at:
https://github.com/pathscale/libcxxrt/blob/master/src/exception.cc
I wrote this for C++ exceptions at about the same time as I wrote the
Objective-C ones, and it probably has the same bugs. It would be great to have
them both working.
Logan: Are you or any of the other MediaTek people going to make it to
AsiaBSDCon this week?
David
On 10 Mar 2014, at 19:25, Mathias Bauer <mathias_bauer@gmx.net> wrote:
> Hi dear list,
>
> as already reported here, the exception handling in libobjc2 does not work
> correctly on ARM platforms. The personality routine misses the virtual stack
> unwinding required by the ARM EHABI spec.
>
> I asked Logan Chien, who was involved in getting the ARM EHABHI stuff into
> llvm, for help and he sent me a patch that solved the problem.
>
> The patch makes the ExceptionTest.m work on the ARM systems he and I tested
> it on. The test cases for C++ and foreign exceptions still don't work, buth
> there are other reasons for that (e.g. that the code that there is no code
> that handles C++ exceptions on ARM).
>
> So first of all: many thanks to Logan!
>
> He asked me to post the patch here, so that's what I do now. Please give it a
> review.
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
--
This email complies with ISO 3103