mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 18:24:05 +00:00
Disable JITTest.FunctionIsRecompiledAndRelinked on ARM where it's not
implemented. llvm-svn: 91963
This commit is contained in:
parent
e7107691df
commit
653b77d8ad
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user