mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-04 16:01:46 +00:00
Disable JITTest.FunctionIsRecompiledAndRelinked on ARM where it's not
implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc67bbe7bc
commit
b9b88ea241
@ -542,6 +542,9 @@ TEST_F(JITTest, FunctionPointersOutliveTheirCreator) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ARM doesn't have an implementation of replaceMachineCodeForFunction(), so
|
||||||
|
// recompileAndRelinkFunction doesn't work.
|
||||||
|
#if !defined(__arm__)
|
||||||
TEST_F(JITTest, FunctionIsRecompiledAndRelinked) {
|
TEST_F(JITTest, FunctionIsRecompiledAndRelinked) {
|
||||||
Function *F = Function::Create(TypeBuilder<int(void), false>::get(Context),
|
Function *F = Function::Create(TypeBuilder<int(void), false>::get(Context),
|
||||||
GlobalValue::ExternalLinkage, "test", M);
|
GlobalValue::ExternalLinkage, "test", M);
|
||||||
@ -572,6 +575,7 @@ TEST_F(JITTest, FunctionIsRecompiledAndRelinked) {
|
|||||||
EXPECT_EQ(2, OrigFPtr())
|
EXPECT_EQ(2, OrigFPtr())
|
||||||
<< "The old pointer's target should now jump to the new version";
|
<< "The old pointer's target should now jump to the new version";
|
||||||
}
|
}
|
||||||
|
#endif // !defined(__arm__)
|
||||||
|
|
||||||
} // anonymous namespace
|
} // anonymous namespace
|
||||||
// This variable is intentionally defined differently in the statically-compiled
|
// This variable is intentionally defined differently in the statically-compiled
|
||||||
|
Loading…
Reference in New Issue
Block a user