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!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Yaron Keren 2013-12-17 08:40:11 +00:00
parent 1f0a0e314d
commit efa95f887f

View File

@ -34,7 +34,7 @@ RTDyldMemoryManager::~RTDyldMemoryManager() {}
// Determine whether we can register EH tables. // Determine whether we can register EH tables.
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \ #if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
!defined(__USING_SJLJ_EXCEPTIONS__)) !defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
#define HAVE_EHTABLE_SUPPORT 1 #define HAVE_EHTABLE_SUPPORT 1
#else #else
#define HAVE_EHTABLE_SUPPORT 0 #define HAVE_EHTABLE_SUPPORT 0