XFAIL the LLI remote JIT tests on Win32.
authorLang Hames <lhames@gmail.com>
Mon, 11 Jan 2016 21:41:34 +0000 (21:41 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 11 Jan 2016 21:41:34 +0000 (21:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257391 91177308-0d34-0410-b5e6-96231b3b80d8

20 files changed:
test/ExecutionEngine/MCJIT/remote/cross-module-a.ll
test/ExecutionEngine/MCJIT/remote/multi-module-a.ll
test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll
test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll
test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll
test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll
test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll
test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll
test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll
test/ExecutionEngine/OrcMCJIT/remote/cross-module-a.ll
test/ExecutionEngine/OrcMCJIT/remote/multi-module-a.ll
test/ExecutionEngine/OrcMCJIT/remote/simpletest-remote.ll
test/ExecutionEngine/OrcMCJIT/remote/stubs-remote.ll
test/ExecutionEngine/OrcMCJIT/remote/test-common-symbols-remote.ll
test/ExecutionEngine/OrcMCJIT/remote/test-data-align-remote.ll
test/ExecutionEngine/OrcMCJIT/remote/test-fp-no-external-funcs-remote.ll
test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-remote.ll
test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll
tools/lli/lli.cpp

index c31572361d3d41f62a3509bd4a6ce944d03b593d..7df88b1ec5e06c6ad1beeb71f1ee5168830a7bfb 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 declare i32 @FB()
 
index 0fd363b4447aa4cf5418e0127eaa455a3dcb3f86..d35418b19c7fe17bdc9984d0021d9445cacb29b2 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 declare i32 @FB()
 
index 30b4dd8e7abc5a200d0a820ba28699043c44be81..0d1a1ec6871af78ffc8d87be3eb91cc44924e713 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 define i32 @bar() nounwind {
        ret i32 0
index 0c4df7bcb15ea31cfa9bdf3bc96ba53da88c67e4..31ed7523db435f7b3b3344602a13900421d90e44 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
+; XFAIL: win32
 ; This test should fail until remote symbol resolution is supported.
 
 define i32 @main() nounwind {
index fb7750adf497ecc50da27338dfc49fe4f6256caa..bbeab10cd7880bf765309eeee934dbd133d1fac3 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
+; XFAIL: win32
 
 ; The intention of this test is to verify that symbols mapped to COMMON in ELF
 ; work as expected.
index 435c21a4a9fa92cf317d140b06642b004fe37047..0aa19b244c04bb1b292555ea95032bc59ecbcbb1 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN:  %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
+; XFAIL: win32
 
 ; Check that a variable is always aligned as specified.
 
index 6134b8b246418f7fd759f026c562a60ad4e806d2..13bac29a362871b49909bd84722549a205956e48 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 define double @test(double* %DP, double %Arg) nounwind {
        %D = load double, double* %DP           ; <double> [#uses=1]
index 5b7999c067e443a9beedf3672cfb70a7ae866dc7..5d5480e9d45960252b16a968b9ce5499381f9a97 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 @count = global i32 1, align 4
 
index ad1af93ffdef0b0c8710ef7c9c24a4e6a557df99..c2260fc2f1ff73b9a0cc2834ef3e51d9b80193e0 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
+; XFAIL: win32
 
 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
 @ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4
index 31d87708f378ea248a093d711878bf37fef06424..2a45472b25a12cfa9748f4239b137c90f70c25b8 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext \
 ; RUN:   -O0 -relocation-model=pic -code-model=small %s
-; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386
+; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386, win32
 
 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
 @ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4
index 16553ebd2adefbf7db0a6204040ff8f7b464fe6f..249aad2d4b48775c9f4a97dce9e600fe9ab9686c 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -jit-kind=orc-mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 declare i32 @FB()
 
index aa34348623057fdf844ab6bc3e584a7b86123646..32c58ee6237ba399f6cfe73de872293ffc2706cb 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -jit-kind=orc-mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 declare i32 @FB()
 
index 45e11fce5a6ec5bec378fbf1de702297d9c9adab..aaf3ebc9bc7f3f2f563ca26fd6ee09e8a82221e7 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 define i32 @bar() nounwind {
        ret i32 0
index 523011ccdf1b9647f806ecae28d6175549f0c1a4..a0d941049c4afbb63d0398e0b24bc2d75b48289a 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
+; XFAIL: win32
 ; This test should fail until remote symbol resolution is supported.
 
 define i32 @main() nounwind {
index 7e4dc056027c542671d5dcc219cd6d102c86b9bb..9b4e2469665f146927305c57c7f9a17ecb1367d5 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
+; XFAIL: win32
 
 ; The intention of this test is to verify that symbols mapped to COMMON in ELF
 ; work as expected.
index 95c9b825a8d3b47432292ae4254c37ffa845b4a0..88a561b613efd0063ca0cb49cedecaa3a1f85cda 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN:  %lli -jit-kind=orc-mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
+; XFAIL: win32
 
 ; Check that a variable is always aligned as specified.
 
index 286710338841cdf39812da93f60a9f85c3e81262..484541ab4807ac01d92b8234cb985010be89132d 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 define double @test(double* %DP, double %Arg) nounwind {
        %D = load double, double* %DP           ; <double> [#uses=1]
index 5dabb8f44d6824df3b44d814744c237429b9434c..adc3e944b639986b56e3eddc7fd5857cd2b670fe 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; XFAIL: win32
 
 @count = global i32 1, align 4
 
index fc15fba91a02befbb622273aec8cc410ce1dbf8a..8ab3fd591388912255d8280316cd2091cf446f2e 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext \
 ; RUN:   -relocation-model=pic -code-model=small %s > /dev/null
-; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386
+; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386, win32
 
 @count = global i32 1, align 4
 
index b83a1a86e0d325240cd1bf5abb07f6dd10b905b8..67e7cbd7686abfb5dc527098dedf853e8ad4b796 100644 (file)
@@ -583,13 +583,11 @@ int main(int argc, char **argv, char * const *envp) {
 
   // Sanity check use of remote-jit: LLI currently only supports use of the
   // remote JIT on Unix platforms.
-  // FIXME: Remove this pointless fallback mode which causes tests to "pass"
-  // on platforms where they should XFAIL.
   if (RemoteMCJIT) {
 #ifndef LLVM_ON_UNIX
     errs() << "Warning: host does not support external remote targets.\n"
            << "  Defaulting to local execution execution\n";
-    RemoteMCJIT = false;
+    return -1;
 #else
     if (ChildExecPath.empty()) {
       errs() << "-remote-mcjit requires -mcjit-remote-process.\n";