Exclude more arm jit failures pending PR10783.
authorAndrew Trick <atrick@apple.com>
Sat, 3 Sep 2011 01:08:35 +0000 (01:08 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 3 Sep 2011 01:08:35 +0000 (01:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139074 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ExecutionEngine/JIT/JITTest.cpp
unittests/ExecutionEngine/JIT/MultiJITTest.cpp

index 1810bf24a91d7460dadc33b64bd89af9e16bf439..2ef273020f9ec31611e93bc3addf72b4965ccac6 100644 (file)
@@ -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 =
index 8997d39836c910626134d3e1907e4de584f87313..91ea64aa53c9ae7384fc8ce446f9898e4fb33490 100644 (file)
@@ -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