[llvm-commits] [llvm] r139074 - in /llvm/trunk/unittests/ExecutionEngine/JIT: JITTest.cpp MultiJITTest.cpp

Andrew Trick atrick at apple.com
Fri Sep 2 18:08:35 PDT 2011


Author: atrick
Date: Fri Sep  2 20:08:35 2011
New Revision: 139074

URL: http://llvm.org/viewvc/llvm-project?rev=139074&view=rev
Log:
Exclude more arm jit failures pending PR10783.

Modified:
    llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
    llvm/trunk/unittests/ExecutionEngine/JIT/MultiJITTest.cpp

Modified: llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?rev=139074&r1=139073&r2=139074&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp Fri Sep  2 20:08:35 2011
@@ -632,7 +632,6 @@
   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 @@
                         << " 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 =

Modified: llvm/trunk/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/MultiJITTest.cpp?rev=139074&r1=139073&r2=139074&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/MultiJITTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/MultiJITTest.cpp Fri Sep  2 20:08:35 2011
@@ -65,6 +65,9 @@
   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 @@
   EXPECT_EQ((intptr_t)getPointerToNamedFunction("getPointerToNamedFunction"),
             (intptr_t)&getPointerToNamedFunction);
 }
+#endif  // !defined(__arm__)
 
 }  // anonymous namespace





More information about the llvm-commits mailing list