llvm.eh.return?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

llvm.eh.return?

gamma_chen
Can someone tell me what the C/C++ statement can generate llvm ir (intrinsic) @llvm.eh.return.i32 by clang? Or any statement of high level language can get @llvm.eh.return.i32.

Jonathan
 

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: llvm.eh.return?

Anton Korobeynikov-2
This intrinsic is created via expansion of eh_return builtin. This
builtin is used by compiler runtime library to provide unwinding
functionality. You can look into libunwind / libgcc sources for an
example.

On Thu, Feb 26, 2015 at 7:59 AM, gamma_chen <[hidden email]> wrote:

> Can someone tell me what the C/C++ statement can generate llvm ir
> (intrinsic) @llvm.eh.return.i32 by clang? Or any statement of high level
> language can get @llvm.eh.return.i32.
>
> Jonathan
>
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev