summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/RemoteTargetExternal.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-23 22:19:45 +0000
committerAlp Toker <alp@nuanti.com>2014-01-23 22:19:45 +0000
commit632c6cd114e6ed06b141fbef4c161b60d41fac1b (patch)
treeb4395ecc0fb3ba68444c34c24c0846d293bca63d /llvm/tools/lli/RemoteTargetExternal.cpp
parent146b7b123001e185a76e143a8443b93b7c011c4e (diff)
downloadbcm5719-llvm-632c6cd114e6ed06b141fbef4c161b60d41fac1b.tar.gz
bcm5719-llvm-632c6cd114e6ed06b141fbef4c161b60d41fac1b.zip
lli: Factor portable messaging into a new RPCChannel facility
The client and server now use a single unified low-level RPC core built around LLVM's existing cross-platform abstractions. llvm-svn: 199947
Diffstat (limited to 'llvm/tools/lli/RemoteTargetExternal.cpp')
-rw-r--r--llvm/tools/lli/RemoteTargetExternal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/lli/RemoteTargetExternal.cpp b/llvm/tools/lli/RemoteTargetExternal.cpp
index 3bf7bf4e3b8..c1bc8dfe99c 100644
--- a/llvm/tools/lli/RemoteTargetExternal.cpp
+++ b/llvm/tools/lli/RemoteTargetExternal.cpp
@@ -111,7 +111,7 @@ bool RemoteTargetExternal::executeCode(uint64_t Address, int32_t &RetVal) {
void RemoteTargetExternal::stop() {
SendTerminate();
- Wait();
+ RPC.Wait();
}
bool RemoteTargetExternal::SendAllocateSpace(uint32_t Alignment, uint32_t Size) {
@@ -317,9 +317,9 @@ void RemoteTargetExternal::AppendRead(void *Data, uint32_t Size) {
}
#ifdef LLVM_ON_UNIX
-#include "Unix/RemoteTargetExternal.inc"
+#include "Unix/RPCChannel.inc"
#endif
#ifdef LLVM_ON_WIN32
-#include "Windows/RemoteTargetExternal.inc"
+#include "Windows/RPCChannel.inc"
#endif
OpenPOWER on IntegriCloud