Skip to content

Commit 7efe293

Browse files
committed
Disable EH table on mingw/SEH
1 parent 072c759 commit 7efe293

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/ExecutionEngine/JIT/JIT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ extern "C" void LLVMLinkInJIT() {
6969

7070
// Determine whether we can register EH tables.
7171
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
72-
!defined(__USING_SJLJ_EXCEPTIONS__))
72+
!defined(__USING_SJLJ_EXCEPTIONS__)) && !defined(__SEH__)
7373
#define HAVE_EHTABLE_SUPPORT 1
7474
#else
7575
#define HAVE_EHTABLE_SUPPORT 0

lib/ExecutionEngine/RTDyldMemoryManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RTDyldMemoryManager::~RTDyldMemoryManager() {}
3434

3535
// Determine whether we can register EH tables.
3636
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
37-
!defined(__USING_SJLJ_EXCEPTIONS__))
37+
!defined(__USING_SJLJ_EXCEPTIONS__)) && !defined(__SEH__)
3838
#define HAVE_EHTABLE_SUPPORT 1
3939
#else
4040
#define HAVE_EHTABLE_SUPPORT 0

0 commit comments

Comments
 (0)