[llvm-commits] [llvm] r88708 - /llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp

Bill Wendling isanbard at gmail.com
Fri Nov 13 13:58:54 PST 2009


Author: void
Date: Fri Nov 13 15:58:54 2009
New Revision: 88708

URL: http://llvm.org/viewvc/llvm-project?rev=88708&view=rev
Log:
Disable the JITTest.NoStubs test for Darwin PPC. It apparently doesn't implement
emitFunctionStubAtAddr.

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

Modified: llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?rev=88708&r1=88707&r2=88708&view=diff

==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp Fri Nov 13 15:58:54 2009
@@ -458,6 +458,9 @@
             NumTablesDeallocated);
 }
 
+#if !defined(__APPLE__) ||                                              \
+  !(defined(__POWERPC__) || defined (__ppc__) ||                        \
+    defined(_POWER) || defined(_ARCH_PPC))
 typedef int (*FooPtr) ();
 
 TEST_F(JITTest, NoStubs) {
@@ -495,6 +498,7 @@
 
   ASSERT_EQ(stubsBefore, RJMM->stubsAllocated);
 }
+#endif
 
 // This code is copied from JITEventListenerTest, but it only runs once for all
 // the tests in this directory.  Everything seems fine, but that's strange





More information about the llvm-commits mailing list