Fix the build issue under ia64. Close bug #5715
authorSylvestre Ledru <sylvestre@debian.org>
Tue, 27 Aug 2013 06:49:46 +0000 (06:49 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 27 Aug 2013 06:49:46 +0000 (06:49 +0000)
Thanks to Luca Falavigna for the help and most of the patch.

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

lib/ExecutionEngine/JIT/JIT.cpp
lib/ExecutionEngine/RTDyldMemoryManager.cpp

index 53ea0a260087dd84171780f35df614dc0bfb99fb..e0504d1c84e03c6c05cc968aa411c181f21f4c44 100644 (file)
@@ -68,7 +68,7 @@ extern "C" void LLVMLinkInJIT() {
 }
 
 // Determine whether we can register EH tables.
-#if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
+#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
      !defined(__USING_SJLJ_EXCEPTIONS__))
 #define HAVE_EHTABLE_SUPPORT 1
 #else
index 4e7645722a4c1f484e0bf8eec7d9813da8ae489c..c5500dfdbc1871b0875a655fa8b969255bc4f62b 100644 (file)
@@ -33,7 +33,7 @@ namespace llvm {
 RTDyldMemoryManager::~RTDyldMemoryManager() {}
 
 // Determine whether we can register EH tables.
-#if (defined(__GNUC__) && !defined(__ARM_EABI__) && \
+#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
      !defined(__USING_SJLJ_EXCEPTIONS__))
 #define HAVE_EHTABLE_SUPPORT 1
 #else