<div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>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 <b>registerEHFrames</b> function of the Memory Manager (but I'm not sure this helps).<br></div><div><br></div>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></div>Thank you in advance<br><br></div>Best regard<br></div>Alexey<br></div>