<div dir="ltr"><div><div><div>Hi all,<br></div><br>I'm using MCJIT for running the manually generated code under both Win32 and Win64 environments.  Unfortunately catching exceptions under Win64 doesn't work. As I understand the main problem is the lack of function table that is needed to unwind a call stack.<br><br></div>Microsoft <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms680595%28v=vs.85%29.aspx">says </a><br><i>Function tables are used on 64-bit Windows to determine how to unwind or walk the stack. These tables are 
    usually generated by the compiler and stored as part of the image. However, applications must provide the function 
    table for dynamically generated code.</i><br><br></div><div>As I can see LLVM usually creates Function Table when generating COFF (Win64EH::UnwindEmitter). But MCJIT can load only ELF files. <br><br>Is there any way to workaround the problem? Maybe it is already planned to implement COFF loading in MCJIT?<br><br></div><div>Best regards,<br>Aliaksei<br></div><div><br></div></div>