[LLVMdev] Why clang++ doesn't set 'noreturn' flag on declarations of __cxa_throw and _Unwind_Resume_or_Rethrow ?
wendling at apple.com
Fri Jul 16 16:01:18 PDT 2010
On Jul 15, 2010, at 6:52 PM, Yuri wrote:
> On 07/15/2010 18:30, Bill Wendling wrote:
>> It's not. But if the unwind library can't handle something, then the _Unwind_Resume_or_Rethrow could fall out of the function (it would assert in debug mode). Darwin's implementation of _URoR in libunwind does this.
> Isn't unwind library supposed to call terminate() every time it can't handle something?
I don't see anything specifying that it should call terminate() in the exception ABI document:
More information about the llvm-dev