[LLVMdev] clang/g++ frontend: can __cxa_end_catch throw?
baldrick at free.fr
Mon Jul 12 03:10:16 PDT 2010
> 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().
More information about the llvm-dev