summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-03 01:08:35 +0000
committerAndrew Trick <atrick@apple.com>2011-09-03 01:08:35 +0000
commit5a76f00108a3413cff7aebd30efba02ba965b388 (patch)
tree649647014364e165835d2ee3d3a11fbdee99d878 /unittests
parent2c84e96d3e1b73e16c183557a97fe056eeaacbb0 (diff)
downloadllvm-5a76f00108a3413cff7aebd30efba02ba965b388.tar.gz
llvm-5a76f00108a3413cff7aebd30efba02ba965b388.tar.bz2
llvm-5a76f00108a3413cff7aebd30efba02ba965b388.tar.xz
Exclude more arm jit failures pending PR10783.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139074 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp3
-rw-r--r--unittests/ExecutionEngine/JIT/MultiJITTest.cpp4
2 files changed, 4 insertions, 3 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp
index 1810bf24a9..2ef273020f 100644
--- a/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -632,7 +632,6 @@ TEST_F(JITTest, AvailableExternallyFunctionIsntCompiled) {
EXPECT_EQ(42, func()) << "func should return 42 from the static version,"
<< " not 7 from the IR version.";
}
-#endif // !defined(__arm__)
TEST_F(JITTest, EscapedLazyStubStillCallable) {
TheJIT->DisableLazyCompilation(false);
@@ -735,8 +734,6 @@ TEST(LazyLoadedJITTest, MaterializableAvailableExternallyFunctionIsntCompiled) {
<< " not 7 from the IR version.";
}
-// ARM tests disabled pending fix for PR10783.
-#if !defined(__arm__)
TEST(LazyLoadedJITTest, EagerCompiledRecursionThroughGhost) {
LLVMContext Context;
const std::string Bitcode =
diff --git a/unittests/ExecutionEngine/JIT/MultiJITTest.cpp b/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
index 8997d39836..91ea64aa53 100644
--- a/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
@@ -65,6 +65,9 @@ void createModule2(LLVMContext &Context2, Module *&M2, Function *&FooF2) {
FooF2 = M2->getFunction("foo2");
}
+// ARM tests disabled pending fix for PR10783.
+#if !defined(__arm__)
+
TEST(MultiJitTest, EagerMode) {
LLVMContext Context1;
Module *M1 = 0;
@@ -160,5 +163,6 @@ TEST(MultiJitTest, JitPool) {
EXPECT_EQ((intptr_t)getPointerToNamedFunction("getPointerToNamedFunction"),
(intptr_t)&getPointerToNamedFunction);
}
+#endif // !defined(__arm__)
} // anonymous namespace