[LLVMdev] Exception handling question

Duncan Sands baldrick at free.fr
Fri Jan 22 05:29:27 PST 2010


Hi Garrison,

> Yes. The issue here, as you pointed out, is that your personality 
> function is not called at all.
> Even if you did nothing in the personality function, associated with the 
> setup caused by
> llvm.eh.selector, but returned _URC_CONTINUE_UNWIND (8), it should still 
> be called.

this is not correct.  Unwind_RaiseException will just exit without unwinding
the stack if all personality functions return _URC_CONTINUE_UNWIND.

Ciao,

Duncan.



More information about the llvm-dev mailing list