[LLVMdev] Question LowerSetJmp

Duncan Sands baldrick at free.fr
Thu Feb 26 11:35:38 PST 2009


On Thursday 26 February 2009 19:46:44 Mike Stump wrote:
> On Feb 26, 2009, at 2:28 AM, Duncan Sands wrote:
> >> Or virtually identical.  Bout the only difference is the number of
> >> registers saved and the order of those registers.
> >
> > What needs to be done to get g++ to use sj/lj style exception  
> > handling?
> 
> Many different ways, the easiest, most experimental way would be:
> 
>    --enable-sjlj-exceptions
>                            arrange to use setjmp/longjmp exception  
> handling
> 
> Somehow, I suspect you have additional questions.

Well, I tried --enable-sjlj-exceptions (gcc 4.4) but as far as I
could tell it continued to use dwarf eh.  I will try again...

Ciao,

Duncan.



More information about the llvm-dev mailing list