[PATCH] D62203: Disable EHFrameSupport in JITLink/RuntimeDyld on AIX
Xing Xue via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 10:39:01 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL361410: Disable EHFrameSupport in JITLink/RuntimeDyld on AIX (authored by xingxue, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D62203?vs=200515&id=200788#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62203/new/
https://reviews.llvm.org/D62203
Files:
llvm/trunk/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
Index: llvm/trunk/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
===================================================================
--- llvm/trunk/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
+++ llvm/trunk/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
@@ -386,7 +386,8 @@
// Determine whether we can register EH tables.
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
- !defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
+ !(defined(_AIX) && defined(__ibmxl__)) && !defined(__SEH__) && \
+ !defined(__USING_SJLJ_EXCEPTIONS__))
#define HAVE_EHTABLE_SUPPORT 1
#else
#define HAVE_EHTABLE_SUPPORT 0
Index: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
===================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
@@ -32,8 +32,9 @@
RTDyldMemoryManager::~RTDyldMemoryManager() {}
// Determine whether we can register EH tables.
-#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
- !defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
+#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
+ !(defined(_AIX) && defined(__ibmxl__)) && !defined(__SEH__) && \
+ !defined(__USING_SJLJ_EXCEPTIONS__))
#define HAVE_EHTABLE_SUPPORT 1
#else
#define HAVE_EHTABLE_SUPPORT 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62203.200788.patch
Type: text/x-patch
Size: 1490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190522/09fd85a8/attachment.bin>
More information about the llvm-commits
mailing list