[llvm] r197483 - There are no __register_frame and __deregister_frame functions

Yaron Keren yaron.keren at gmail.com
Tue Dec 17 00:40:11 PST 2013


Author: yrnkrn
Date: Tue Dec 17 02:40:11 2013
New Revision: 197483

URL: http://llvm.org/viewvc/llvm-project?rev=197483&view=rev
Log:
There are no __register_frame and __deregister_frame functions 
when using structured exception handling (SEH) on Windows 64.

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

Patch by Jonathan Liu!


Modified:
    llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp

Modified: llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp?rev=197483&r1=197482&r2=197483&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RTDyldMemoryManager.cpp Tue Dec 17 02:40:11 2013
@@ -34,7 +34,7 @@ RTDyldMemoryManager::~RTDyldMemoryManage
 
 // 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





More information about the llvm-commits mailing list