Open rubenvb opened 10 years ago
For x64, Kai Nacke, aka redstar, has been working on SEH in LLVM.
With his WIP patch (see e.g. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140106/200863.html), and my MinGW Driver code (see http://llvm.org/bugs/show_bug.cgi?id=18546), and attached modifications for the CG/Driver/Frontend, the necessary changes are done to generate calls to the seh gcc personality functions. Basic testing (hello world throw-catch) works with GCC 4.8.2's libraries.
Scratch that. 64-bit eh does not work with this patch. seh stuff is emitted though.
Extended Description
For x64, Kai Nacke, aka redstar, has been working on SEH in LLVM.
With his WIP patch (see e.g. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140106/200863.html), and my MinGW Driver code (see http://llvm.org/bugs/show_bug.cgi?id=18546), and attached modifications for the CG/Driver/Frontend, the necessary changes are done to generate calls to the seh gcc personality functions. Basic testing (hello world throw-catch) works with GCC 4.8.2's libraries.