<div dir="rtl"><div dir="ltr">This is the discussion thread for the patch:</div><div dir="ltr"><br></div><div dir="ltr"><a href="http://comments.gmane.org/gmane.comp.compilers.llvm.cvs/166382" target="_blank">http://comments.gmane.org/gmane.comp.compilers.llvm.cvs/166382</a><br>


</div><div dir="ltr"><br></div><div dir="ltr">I will forward you the latest message not in the archives yet.</div><div dir="ltr"><br></div><div dir="ltr">Yaron<br></div><div dir="ltr"><br></div></div><div class="gmail_extra">

<div dir="ltr"><br><br><div class="gmail_quote">2014/1/17 Aliaksei Zasenka <span dir="ltr"><<a href="mailto:listhex@gmail.com" target="_blank">listhex@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">

<div>Hi Yaron, Kai and all,<br></div><div></div><div><br>Thanks for your answer. What is the current status of the issue? <br><br>You wrote <br>><span>Kai</span> <span>Nacke</span> implemented a patch for mingw32 / Win64 / SEH exceptions for the LDC compiler on top of LLVM<br>


<br></div><div>Does it mean that Kai is working only on gcc-mingw Win64/SEH  support? Is it planned to implement something like the <b><code>RtlAddFunctionTable</code><span></span></b>-based registrar for dynamically loaded code?<br>


</div><div>May be I can help fixing it?<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br>Aliaksei<br></div></font></span></blockquote></div><div class="HOEnZb">

<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/17 Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">Hi Aliaksei,<br><br>Exceptions on Win64 are not supported yet. </div><div dir="ltr">Kai Nacke is working on the implementation.</div>


<div dir="ltr"><br></div><div dir="ltr">Yaron</div><div dir="ltr"><div><div>

<br><br><br>2014/1/17 Aliaksei Zasenka <<a href="mailto:listhex@gmail.com" target="_blank">listhex@gmail.com</a>><br>><br>> Hi all,<br>><br>> In my MSVC-compiled project I am using MCJIT to run some generated code. I faced that in case of Win64 ('x86_64-pc-win32-elf') __try/__except block doesn't work - the stack can not be unwound.<br>




> I have found that the only way to fix it is implementing my own registerEHFrames function of the Memory Manager (but I'm not sure this helps).<br>><br>> Maybe someone had a success solving the same problem?<br>




> What would be the best approach to catch exceptions from dynamically generated code on Win64?<br>><br>> Thank you in advance<br>><br>> Best regard<br>> Alexey<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></div></div>
</blockquote></div><br></div>
</div></div></div></div>