<font face="verdana,sans-serif">Which exception caused the crash? I could take a look if you send me the crash dump file privately.</font><div><font face="verdana,sans-serif"><br></font></div><div><font face="verdana,sans-serif">Thanks,</font></div>
<div><font face="verdana,sans-serif">-Thomson</font></div><div><br><div class="gmail_quote">On Sun, Jul 8, 2012 at 8:36 AM, Skykill Skyoverside <span dir="ltr"><<a href="mailto:skyoverside@live.fr" target="_blank">skyoverside@live.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank, i have posted a mail about that. What i don't understand, is why it<br>
only work on x64, it should be more logical that it work only on x86, since<br>
most library focus first on working x86 before x64.<br>
<br>
The function getMethodPointer come from here<br>
<a href="http://stackoverflow.com/questions/3104389/can-i-bind-an-existing-method-to-a-llvm-function-and-use-it-from-jitted-code" target="_blank">http://stackoverflow.com/questions/3104389/can-i-bind-an-existing-method-to-a-llvm-function-and-use-it-from-jitted-code</a><br>
they said "that probably will only be compatible with the Itanium ABI", so<br>
does it could be because of that?<br>
<br>
-----Message d'origine-----<br>
From: Óscar Fuentes<br>
Sent: Saturday, July 07, 2012 4:57 PM<br>
<div class="im HOEnZb">To: <a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a><br>
Subject: Re: [LLVMdev] Crash using the JIT on x86 but work on x64<br>
<br>
</div><div class="HOEnZb"><div class="h5">Skykill Skyoverside <<a href="mailto:skyoverside@live.fr">skyoverside@live.fr</a>> writes:<br>
<br>
[snip]<br>
<br>
My guess is that you are hitting a VS C++ ABI missing feature in<br>
Clang. Ask in the Clang mailing list for a confirmation, but IIRC there<br>
are still missing pieces on either object construction/destrucion,<br>
parameter passing, returning classes and C++ exception support.<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">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>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">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>
</div></div></blockquote></div><br></div>