There are no __register_frame and __deregister_frame functions
authorYaron Keren <yaron.keren@gmail.com>
Tue, 17 Dec 2013 08:40:11 +0000 (08:40 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 17 Dec 2013 08:40:11 +0000 (08:40 +0000)
when using structured exception handling (SEH) on Windows 64.

http://llvm-reviews.chandlerc.com/D2378

Patch by Jonathan Liu!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197483 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RTDyldMemoryManager.cpp

index 58a64609b9bcd3e0a4aef9431c0179aeed1ba0b9..26e1fddd7695eed7336701df4d4270642ef8d79a 100644 (file)
@@ -34,7 +34,7 @@ RTDyldMemoryManager::~RTDyldMemoryManager() {}
 
 // 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