summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbahareh-farhadi <53280095+bahareh-farhadi@users.noreply.github.com>2024-04-08 08:35:28 -0400
committerGitHub <noreply@github.com>2024-04-08 08:35:28 -0400
commit8c6e0459c49da298f3b911fc3699c2254a20d882 (patch)
tree48527a0f4b1eeca920c53770c1f063a6aea12297
parent95f984f37e390a6d2e8a4b0852ea4d5a83126287 (diff)
[zOS] Turn CLANG_INTERPRETER_PLATFORM_CANNOT_CREATE_LLJIT on for zOS (#87797)
PR [https://github.com/llvm/llvm-project/pull/84461](https://github.com/llvm/llvm-project/pull/84461) disabled `clang/unittests/Interpreter/InterpreterExtensionsTest.cpp` for AIX by turning on `CLANG_INTERPRETER_PLATFORM_CANNOT_CREATE_LLJIT`. This PR turns `CLANG_INTERPRETER_PLATFORM_CANNOT_CREATE_LLJIT` on for zOS as well, since LLJIT cannot be created on zOS either. Co-authored-by: Bahareh <bahareh.farhadi@ibm.com>
-rw-r--r--clang/unittests/Interpreter/InterpreterExtensionsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Interpreter/InterpreterExtensionsTest.cpp b/clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
index 1ba865a79ed7..b971cd550dc5 100644
--- a/clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
+++ b/clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
@@ -30,7 +30,7 @@
#include <system_error>
-#if defined(_AIX)
+#if defined(_AIX) || defined(__MVS__)
#define CLANG_INTERPRETER_PLATFORM_CANNOT_CREATE_LLJIT
#endif