summaryrefslogtreecommitdiffstats
path: root/src/llvm-seh.patch
blob: f5958a2d15f1a3f3fd82c40d5c01f927cf20077b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
This file is part of MXE.
See index.html for further information.

diff -NBaur llvm-3.3.src/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp llvm-3.3.patched/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
--- llvm-3.3.src/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp	2013-05-05 17:43:10.000000000 -0300
+++ llvm-3.3.patched/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp	2013-12-29 13:33:00.827119175 -0300
@@ -148,7 +148,7 @@
 
 // Determine whether we can register EH tables.
 #if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
-     !defined(__USING_SJLJ_EXCEPTIONS__))
+     !defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
 #define HAVE_EHTABLE_SUPPORT 1
 #else
 #define HAVE_EHTABLE_SUPPORT 0

diff -NBaur llvm-3.3.src/lib/ExecutionEngine/JIT/JIT.cpp llvm-3.3.patched/lib/ExecutionEngine/JIT/JIT.cpp
--- llvm-3.3.src/lib/ExecutionEngine/JIT/JIT.cpp	2013-05-05 17:43:10.000000000 -0300
+++ llvm-3.3.patched/lib/ExecutionEngine/JIT/JIT.cpp	2013-12-29 13:33:00.827119175 -0300
@@ -72,7 +72,7 @@
 
 // Determine whether we can register EH tables.
 #if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
-     !defined(__USING_SJLJ_EXCEPTIONS__))
+     !defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
 #define HAVE_EHTABLE_SUPPORT 1
 #else
 #define HAVE_EHTABLE_SUPPORT 0