aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests
diff options
context:
space:
mode:
authorStefan Gränitz <stefan.graenitz@gmail.com>2024-07-03 10:32:50 +0200
committerGitHub <noreply@github.com>2024-07-03 10:32:50 +0200
commit1787d4b28417ea9f26c0213e8f597cc5bb289144 (patch)
treea39a4943bf82c943e7cb52d78c5ca3901f6eeb5c /clang/unittests
parent2a14c0643597c5932af85f22172c99800f9b4a6c (diff)
downloadllvm-1787d4b28417ea9f26c0213e8f597cc5bb289144.zip
llvm-1787d4b28417ea9f26c0213e8f597cc5bb289144.tar.gz
llvm-1787d4b28417ea9f26c0213e8f597cc5bb289144.tar.bz2
[clang-repl] Fix RuntimeInterfaceBuilder for 32-bit systems (#97071)
When generating runtime interface bindings, extend integral types to the native register size rather than 64-bit per se Fixes #94994
Diffstat (limited to 'clang/unittests')
-rw-r--r--clang/unittests/Interpreter/InterpreterTest.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/unittests/Interpreter/InterpreterTest.cpp b/clang/unittests/Interpreter/InterpreterTest.cpp
index 29c5ead..a2e960f 100644
--- a/clang/unittests/Interpreter/InterpreterTest.cpp
+++ b/clang/unittests/Interpreter/InterpreterTest.cpp
@@ -282,9 +282,6 @@ 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/94994.
-#ifndef __arm__
TEST_F(InterpreterTest, Value) {
std::vector<const char *> Args = {"-fno-sized-deallocation"};
std::unique_ptr<Interpreter> Interp = createInterpreter(Args);
@@ -383,6 +380,5 @@ TEST_F(InterpreterTest, Value) {
EXPECT_EQ(V9.getKind(), Value::K_PtrOrObj);
EXPECT_TRUE(V9.isManuallyAlloc());
}
-#endif /* ifndef __arm__ */
} // end anonymous namespace