Displaying 2 results from an estimated 2 matches for "exn2".
Did you mean:
exn
2010 Jul 15
2
[LLVMdev] Why clang++ doesn't set 'noreturn' flag on declarations of __cxa_throw and _Unwind_Resume_or_Rethrow ?
When I compile some code with the near-trunk clang++ I get this:
...
tail call void @_Unwind_Resume_or_Rethrow(i8* %exn2) noreturn
unreachable
...
declare void @_Unwind_Resume_or_Rethrow(i8*)
...
Same with __cxa_throw. 'noreturn' is missing on declarations.
This seems to be a bug.
Also can _Unwind_Resume_or_Rethrow actually return? When I run some
simple exception code in JIT I see that this function ac...
2010 Jul 16
0
[LLVMdev] Why clang++ doesn't set 'noreturn' flag on declarations of __cxa_throw and _Unwind_Resume_or_Rethrow ?
On Jul 15, 2010, at 3:31 PM, Yuri wrote:
> When I compile some code with the near-trunk clang++ I get this:
Please send clang-specific questions to cfe-dev at cs.uiuc.edu.
> ...
> tail call void @_Unwind_Resume_or_Rethrow(i8* %exn2) noreturn
> unreachable
> ...
> declare void @_Unwind_Resume_or_Rethrow(i8*)
> ...
>
> Same with __cxa_throw. 'noreturn' is missing on declarations.
> This seems to be a bug.
It really shouldn't make a difference; the call site should take priority anyway.
>...