[LLVMdev] Why clang++ doesn't set 'noreturn' flag on declarations of __cxa_throw and _Unwind_Resume_or_Rethrow ?

Yuri yuri at rawbw.com
Thu Jul 15 18:52:49 PDT 2010


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?

Yuri



More information about the llvm-dev mailing list