Fixing problems in lli's RemoteMemoryManager.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 11 Oct 2013 22:47:10 +0000 (22:47 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 11 Oct 2013 22:47:10 +0000 (22:47 +0000)
commit4bad07fbec9d42769fdc5cea891f8cb7a3b284d5
treee6ec41a1be2ad6cbb480f60037bc11a7e4b77c8f
parent528f6d787b1a847e61eb2f1114559f423fdeb68c
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
test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll
tools/lli/RemoteMemoryManager.h
tools/lli/lli.cpp