[PATCH] Fix compilation with MinGW-w64 GCC 4.8.2 64-bit SEH
Jonathan Liu
net147 at gmail.com
Tue Dec 10 22:51:00 PST 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2378.1.patch
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131210/98569031/attachment.bin>
More information about the llvm-commits
mailing list