summaryrefslogtreecommitdiff
path: root/user/clang/ppc-interp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/clang/ppc-interp.patch')
-rw-r--r--user/clang/ppc-interp.patch17
1 files changed, 7 insertions, 10 deletions
diff --git a/user/clang/ppc-interp.patch b/user/clang/ppc-interp.patch
index a8cb6bc90..bc2905f42 100644
--- a/user/clang/ppc-interp.patch
+++ b/user/clang/ppc-interp.patch
@@ -3,23 +3,20 @@ implemented in RuntimeDyld.
--- clang-14.0.6.src/test/Interpreter/execute.cpp.old 2022-06-22 16:46:24.000000000 +0000
+++ clang-14.0.6.src/test/Interpreter/execute.cpp 2022-12-05 01:04:26.517960246 +0000
-@@ -1,7 +1,7 @@
- // RUN: clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' \
- // RUN: 'auto r1 = printf("i = %d\n", i);' | FileCheck --check-prefix=CHECK-DRIVER %s
- // REQUIRES: host-supports-jit
+@@ -1,4 +1,4 @@
-// UNSUPPORTED: system-aix
+// UNSUPPORTED: system-aix, powerpc-
- // CHECK-DRIVER: i = 10
- // RUN: cat %s | clang-repl | FileCheck %s
- extern "C" int printf(const char *, ...);
+
+ // clang-format off
+ // RUN: clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' \
--- clang-14.0.6.src/unittests/Interpreter/InterpreterTest.cpp.old 2022-06-22 16:46:24.000000000 +0000
+++ clang-14.0.6.src/unittests/Interpreter/InterpreterTest.cpp 2022-12-05 01:53:47.058187317 +0000
-@@ -205,7 +205,7 @@
+@@ -270,7 +270,7 @@
return R.getFoundDecl();
}
--#ifdef _AIX
-+#if defined(_AIX) || (!defined(__powerpc64__) && defined(__powerpc__))
+-#ifdef CLANG_INTERPRETER_NO_SUPPORT_EXEC
++#if defined(CLANG_INTERPRETER_NO_SUPPORT_EXEC) || (!defined(__powerpc64__) && defined(__powerpc__))
TEST(IncrementalProcessing, DISABLED_InstantiateTemplate) {
#else
TEST(IncrementalProcessing, InstantiateTemplate) {