aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2024-06-07 10:36:20 +0000
committerDavid Spickett <david.spickett@linaro.org>2024-06-07 10:38:25 +0000
commit54c5dbe7c3812461decbccb6ed122e41777e02bd (patch)
tree440e653285afeaf2f7a6a1b0320474ebaf818dd2 /clang/unittests/Interpreter/InterpreterTest.cpp
parent537165bb02df8e9f4dc4c21725d50e77e2908a5f (diff)
downloadllvm-54c5dbe7c3812461decbccb6ed122e41777e02bd.zip
llvm-54c5dbe7c3812461decbccb6ed122e41777e02bd.tar.gz
llvm-54c5dbe7c3812461decbccb6ed122e41777e02bd.tar.bz2
[clang][test] Skip interpreter value test on Arm 32 bit
https://github.com/llvm/llvm-project/pull/89811 caused this test to fail, somehow. I think it may not be at fault, but actually be exposing some existing undefined behaviour, see https://github.com/llvm/llvm-project/issues/94741. Skipping this for now to get the bots green again.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
-rw-r--r--clang/unittests/Interpreter/InterpreterTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/unittests/Interpreter/InterpreterTest.cpp b/clang/unittests/Interpreter/InterpreterTest.cpp
index ab9b7a3..72b34da 100644
--- a/clang/unittests/Interpreter/InterpreterTest.cpp
+++ b/clang/unittests/Interpreter/InterpreterTest.cpp
@@ -282,6 +282,9 @@ TEST_F(InterpreterTest, InstantiateTemplate) {
EXPECT_EQ(42, fn(NewA.getPtr()));
}
+// This test exposes an ARM specific problem in the interpreter, see
+// https://github.com/llvm/llvm-project/issues/94741.
+#ifndef __arm__
TEST_F(InterpreterTest, Value) {
std::unique_ptr<Interpreter> Interp = createInterpreter();
@@ -379,5 +382,6 @@ TEST_F(InterpreterTest, Value) {
EXPECT_EQ(V9.getKind(), Value::K_PtrOrObj);
EXPECT_TRUE(V9.isManuallyAlloc());
}
+#endif /* ifndef __arm__ */
} // end anonymous namespace