[PATCH] Fix compilation with MinGW-w64 GCC 4.8.2 64-bit SEH
Kai Nacke
kai.nacke at redstar.de
Tue Dec 17 00:01:01 PST 2013
Hi all,
any reason why this patch is not yet committed? Without it, LLVM does
not compile on MingW-w64.
Regards,
Kai
On 11.12.2013 07:51, Jonathan Liu wrote:
> Hi #llvm,
>
> There are no __register_frame and __deregister_frame functions when using structured exception handling.
>
> http://llvm-reviews.chandlerc.com/D2378
>
> Files:
> lib/ExecutionEngine/RTDyldMemoryManager.cpp
>
> Index: lib/ExecutionEngine/RTDyldMemoryManager.cpp
> ===================================================================
> --- lib/ExecutionEngine/RTDyldMemoryManager.cpp
> +++ lib/ExecutionEngine/RTDyldMemoryManager.cpp
> @@ -34,7 +34,7 @@
>
> // Determine whether we can register EH tables.
> #if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
> - !defined(__USING_SJLJ_EXCEPTIONS__))
> + !defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
> #define HAVE_EHTABLE_SUPPORT 1
> #else
> #define HAVE_EHTABLE_SUPPORT 0
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list