diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-29 01:29:56 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-10-29 01:29:56 +0000 |
commit | 1ca510ea670d02e4e78e8f8cdf062afce08f30a9 (patch) | |
tree | e9dc961cb510261b4a1c99f231215f630487a2ec /llvm/test | |
parent | fc184734009df551eb36e80396875cc9a2ec4acf (diff) | |
download | bcm5719-llvm-1ca510ea670d02e4e78e8f8cdf062afce08f30a9.tar.gz bcm5719-llvm-1ca510ea670d02e4e78e8f8cdf062afce08f30a9.zip |
Adding a workaround for __main linking with remote lli and Cygwin/MinGW
llvm-svn: 193570
Diffstat (limited to 'llvm/test')
8 files changed, 3 insertions, 21 deletions
diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll b/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll index 79efb3cfc77..094d362262c 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll @@ -1,8 +1,5 @@ ; RUN: %lli_mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null -; This fails because __main is not resolved in remote mcjit. -; XFAIL: cygwin,mingw32 - declare i32 @FB() define i32 @FA() { diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll b/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll index d7c282914f3..91d0387376c 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll @@ -1,8 +1,5 @@ ; RUN: %lli_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 %s > /dev/null -; This fails because __main is not resolved in remote mcjit. -; XFAIL: cygwin,mingw32 - declare i32 @FB() define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll index f717fde4f9e..d10a4117a0d 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll @@ -1,8 +1,5 @@ ; RUN: %lli_mcjit -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null -; This fails because __main is not resolved in remote mcjit on cygming. -; XFAIL: cygwin,mingw32,mips - define i32 @bar() { ret i32 0 } diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll index c3dbac32693..63280895a9a 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll @@ -1,8 +1,5 @@ ; RUN: %lli_mcjit -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target %s -; This fails because __main is not resolved in remote mcjit on cygming. -; XFAIL: cygwin,mingw32,mips - ; The intention of this test is to verify that symbols mapped to COMMON in ELF ; work as expected. ; diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll index 8583bfe8787..297925498fb 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll @@ -1,7 +1,6 @@ ; RUN: %lli_mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target %s -; This fails because __main is not resolved in remote mcjit on cygming. -; XFAIL: cygwin,mingw32,mips +; XFAIL: mips ; Check that a variable is always aligned as specified. diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll index 4f658ac9206..6bad7a25841 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll @@ -1,7 +1,6 @@ ; RUN: %lli_mcjit -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null -; This fails because __main is not resolved in remote mcjit on cygming. -; XFAIL: cygwin,mingw32,mips +; XFAIL: mips define double @test(double* %DP, double %Arg) { %D = load double* %DP ; <double> [#uses=1] diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll index 77868b91830..cdb577938c8 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll @@ -1,7 +1,6 @@ ; RUN: %lli_mcjit -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null -; This fails because __main is not resolved in remote mcjit on cygming. -; XFAIL: cygwin,mingw32,mips +; XFAIL: mips @count = global i32 1, align 4 diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll index 3b542c39b16..8b562972b5d 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll @@ -1,8 +1,5 @@ ; RUN: %lli_mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target %s -; This fails because __main is not resolved in remote mcjit. -; XFAIL: cygwin,mingw32 - @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1 @ptr = global i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), align 4 @.str1 = private unnamed_addr constant [6 x i8] c"data2\00", align 1 |