[LLVMdev] clang/g++ frontend: can __cxa_end_catch throw?

Duncan Sands baldrick at free.fr
Mon Jul 12 03:10:16 PDT 2010


Hi Yuri,

> But there are cases when the outcomes will be different. In case of gcc
> frontend terminate() will be called when the original exception's
> destructor throws an exception and in case of clang
> Unwind_Resume_or_Rethrow will be called which is different.

since Unwind_Resume_or_Rethrow causes the exception to continue to unwind,
the result is also a call to terminate().

Ciao,

Duncan.



More information about the llvm-dev mailing list