[llvm-commits] [llvm] r91963 - /llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
Jeffrey Yasskin
jyasskin at google.com
Tue Dec 22 16:58:02 PST 2009
Author: jyasskin
Date: Tue Dec 22 18:58:02 2009
New Revision: 91963
URL: http://llvm.org/viewvc/llvm-project?rev=91963&view=rev
Log:
Disable JITTest.FunctionIsRecompiledAndRelinked on ARM where it's not
implemented.
Modified:
llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
Modified: llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?rev=91963&r1=91962&r2=91963&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp Tue Dec 22 18:58:02 2009
@@ -542,6 +542,9 @@
#endif
}
+// ARM doesn't have an implementation of replaceMachineCodeForFunction(), so
+// recompileAndRelinkFunction doesn't work.
+#if !defined(__arm__)
TEST_F(JITTest, FunctionIsRecompiledAndRelinked) {
Function *F = Function::Create(TypeBuilder<int(void), false>::get(Context),
GlobalValue::ExternalLinkage, "test", M);
@@ -572,6 +575,7 @@
EXPECT_EQ(2, OrigFPtr())
<< "The old pointer's target should now jump to the new version";
}
+#endif // !defined(__arm__)
} // anonymous namespace
// This variable is intentionally defined differently in the statically-compiled
More information about the llvm-commits
mailing list