[LLVMdev] exception handling and fastcc

Nicolas Ojeda Bar n.oje.bar at gmail.com
Fri Jul 31 14:31:35 PDT 2015


Hello,

I am writing a compiler for a functional language and am using the fastcc
calling convention extensibly.  I am now thinking about how to implement
exception handling (about which I know close to nothing) and was hoping to
use the support for exception handling built-in llvm.

Question: can I use the standard __cxa_throw (and personality function)
from C++ and the llvm eh machinery even if I am using fastcc instead of the
standard calling convention ?

Thanks,

Kind regards
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150731/15e33e79/attachment.html>


More information about the llvm-dev mailing list