diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2009-12-23 00:58:02 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2009-12-23 00:58:02 +0000 |
commit | 60958a1e56d6868b4051e5000096a112ecc2f84b (patch) | |
tree | f09b2b356b03449d72470bf8db22e8e481dcf32f /llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | |
parent | e0d2691b8812fd9b80b39c3d57fab4df1d061ad8 (diff) | |
download | bcm5719-llvm-60958a1e56d6868b4051e5000096a112ecc2f84b.tar.gz bcm5719-llvm-60958a1e56d6868b4051e5000096a112ecc2f84b.zip |
Disable JITTest.FunctionIsRecompiledAndRelinked on ARM where it's not
implemented.
llvm-svn: 91963
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp index de30ddaa15f..7f75afada1a 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp @@ -542,6 +542,9 @@ TEST_F(JITTest, FunctionPointersOutliveTheirCreator) { #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 @@ TEST_F(JITTest, FunctionIsRecompiledAndRelinked) { 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 |