oops... so how can unwind stack up to invoke call? Is there an alternative to establish a custom exception handling?<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5"><div class="gmail_quote">2011/11/7 Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Semion, the unwind instruction has been removed from LLVM.  Also, the JIT<br>
and code generators never supported it: it never unwound the stack, it just<br>
resulted in a nasty crash.<br>
<br>
Ciao, Duncan.<br>
<div><div><br>
> I have a little problem using LLVM and will be happy to get a solution. I need<br>
> to handle in C++ code an uncaught unwind instruction while calling JIT (now I<br>
> get segfault). I mean something like nonexistent ExecutionEngine::invokeFunction<br>
> instead of callFunction. Setting llvm::JITExceptionHandling to true<br>
> and enclosing the JIT-call within try/catch block does not help here, because<br>
> there is no C++ style exception thrown, but a simple unwind instruction. Thanks<br>
> in advance.<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>