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

Bill Wendling isanbard at gmail.com
Mon Oct 14 22:41:39 PDT 2013


On Oct 14, 2013, at 8:52 PM, Andrew Trick <atrick at apple.com> wrote:

> 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.

And the slowest. :-)

-bw






More information about the cfe-dev mailing list