diff options
| -rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | 3 | ||||
| -rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp | 4 | 
2 files changed, 4 insertions, 3 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp index 1810bf24a91..2ef273020f9 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp +++ b/llvm/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/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp index 8997d39836c..91ea64aa53c 100644 --- a/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp +++ b/llvm/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  | 

