iphone + LDC, a new ARM adventure

Jacob Carlborg doob at me.com
Sun Jan 19 23:37:50 PST 2014

On 2014-01-05 18:28, Dan Olson wrote:

> Hi Jacob.
> Yeah, I probably have called it wrong as I am just learning about
> exception handling implementations.  clangc c++ exception handling for
> C++ armv7-apple-darwin is emitting __gxx_personality_sj0 and plugs in
> _Unwind_SjLj_Register/_Unwind_SjLj_Unregister.  Perhaps those are just
> for catching C code longjmps?

I had a look the code for libc++abi. It seems that on ARM it uses SjLj 
but with the same API as dwarf based exceptions, that is 
__cxa_begin_catch, __cxa_end_catch and so on. I didn't expect that.

/Jacob Carlborg

More information about the digitalmars-d-ldc mailing list