aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-10-11 22:47:10 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-10-11 22:47:10 +0000
commit4bad07fbec9d42769fdc5cea891f8cb7a3b284d5 (patch)
treee6ec41a1be2ad6cbb480f60037bc11a7e4b77c8f /test/ExecutionEngine
parent528f6d787b1a847e61eb2f1114559f423fdeb68c (diff)
downloadexternal_llvm-4bad07fbec9d42769fdc5cea891f8cb7a3b284d5.zip
external_llvm-4bad07fbec9d42769fdc5cea891f8cb7a3b284d5.tar.gz
external_llvm-4bad07fbec9d42769fdc5cea891f8cb7a3b284d5.tar.bz2
Fixing problems in lli's RemoteMemoryManager.
This fixes a problem from a previous check-in where a return value was omitted. Previously the remote/stubs-remote.ll and remote/stubs-sm-pic.ll tests were reporting passes, but they should have been failing. Those tests attempt to link against an external symbol and remote symbol resolution is not supported. The old RemoteMemoryManager implementation resulted in local symbols being used for resolution and the child process crashed but the test didn't notice. With this check-in remote symbol resolution fails, and so the test (correctly) fails. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r--test/ExecutionEngine/MCJIT/remote/stubs-remote.ll3
-rw-r--r--test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll b/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
index 99c2fe5..97932bc 100644
--- a/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
+++ b/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
@@ -1,5 +1,6 @@
; RUN: %lli_mcjit -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target %s
-; XFAIL: mips
+; XFAIL: *
+; This test should fail until remote symbol resolution is supported.
define i32 @main() nounwind {
entry:
diff --git a/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll b/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll
index 42e9d77..88faf21 100644
--- a/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll
+++ b/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll
@@ -1,5 +1,6 @@
; RUN: %lli_mcjit -remote-mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
-; XFAIL: mips, i686, i386, aarch64, arm
+; XFAIL: *
+; This function should fail until remote symbol resolution is supported.
define i32 @main() nounwind {
entry: