[cfe-dev] How to use SJLJ exceptions with clang ?

Andrew Trick atrick at apple.com
Mon Oct 14 20:52:06 PDT 2013


On Oct 11, 2013, at 2:29 PM, Bill Wendling <isanbard at gmail.com> wrote:

> On Oct 10, 2013, at 11:30 PM, Nicola Gigante <nicola.gigante at gmail.com> wrote:
> 
>> Il giorno 11/ott/2013, alle ore 00:58, Anton Korobeynikov <anton at korobeynikov.info> ha scritto:
>>> 
>>> sjlj exceptions are only used on arm/darwin. So, no, you cannot enable
>>> them via some flag.
>> 
>> Does it mean that iOS code uses sjlj exceptions?
> 
> That's correct.
> 
>> That seems weird and unexpected at a first glance! (at least for someone without ARM insights) Sorry for my ignorance: why are zero cost exceptions not possible on arm?
> 
> I don't know. I can only hazard guesses. :-/

SjLj is the most space efficient. I am not promoting it though.
-Andy



More information about the cfe-dev mailing list