[llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

Bill Wendling isanbard at gmail.com
Thu Oct 18 01:43:56 PDT 2007


Hi Duncan,

>> When ObjC is using SJLJ exceptions, don't create an unwind basic  
>> block
>
> is this to avoid calling "unwind resume"?  Do SJLJ exceptions actually
> work with ObjC - I thought LLVM support was needed for sjlj exceptions
> (I only looked at 4.2 though).
>
Yes, it's to avoid calling the "unwind resume". Non-64-bit Objective- 
C uses the "old" sjlj-style exceptions. As far as I know, llvm-gcc  
4.0 handles the sjlj exceptions alright -- obj-act.c creates the code  
to emulate sjlj calls, so there's nothing special going on. I haven't  
looked at 4.2 yet, so it may need tweaking there.

-bw




More information about the llvm-commits mailing list