<div dir="ltr"><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 class="">Kai</span> <span class="">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 class="">RtlAddFunctionTable</code><span id="posttext-373455"></span></b>-based registrar for dynamically loaded code?<br>
</div><div>May be I can help fixing it?<br></div><div><br>Aliaksei<br></div></div><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 class="h5">

<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>