[PATCH] D87114: [AIX][ExecutionEngine] Disable eh frame support when building with Clang on AIX
David Tenty via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 15:05:46 PDT 2020
daltenty created this revision.
daltenty added reviewers: xingxue, hubert.reinterpretcast.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
daltenty requested review of this revision.
since EH Frames aren't currently supported on AIX with clang.
Follow on to D62203 <https://reviews.llvm.org/D62203>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87114
Files:
llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
Index: llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
===================================================================
--- llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
+++ llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
@@ -33,7 +33,8 @@
// Determine whether we can register EH tables.
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
- !(defined(_AIX) && defined(__ibmxl__)) && !defined(__MVS__) && \
+ !((defined(_AIX) || defined(__MVS__)) && defined(__ibmxl__)) && \
+ !((defined(_AIX) || defined(__MVS__)) && defined(__clang__)) && \
!defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
#define HAVE_EHTABLE_SUPPORT 1
#else
Index: llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
===================================================================
--- llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
+++ llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
@@ -631,7 +631,8 @@
// Determine whether we can register EH tables.
#if (defined(__GNUC__) && !defined(__ARM_EABI__) && !defined(__ia64__) && \
- !(defined(_AIX) && defined(__ibmxl__)) && !defined(__MVS__) && \
+ !((defined(_AIX) || defined(__MVS__)) && defined(__ibmxl__)) && \
+ !((defined(_AIX) || defined(__MVS__)) && defined(__clang__)) && \
!defined(__SEH__) && !defined(__USING_SJLJ_EXCEPTIONS__))
#define HAVE_EHTABLE_SUPPORT 1
#else
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87114.289818.patch
Type: text/x-patch
Size: 1507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200903/254d6587/attachment.bin>
More information about the llvm-commits
mailing list