From 5a76f00108a3413cff7aebd30efba02ba965b388 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Sat, 3 Sep 2011 01:08:35 +0000 Subject: Exclude more arm jit failures pending PR10783. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139074 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/ExecutionEngine/JIT/JITTest.cpp | 3 --- unittests/ExecutionEngine/JIT/MultiJITTest.cpp | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'unittests') 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 -- cgit v1.2.3