summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/Windows/RPCChannel.inc
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/Windows/RPCChannel.inc
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/Windows/RPCChannel.inc')
-rw-r--r--llvm/tools/lli/Windows/RPCChannel.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/llvm/tools/lli/Windows/RPCChannel.inc b/llvm/tools/lli/Windows/RPCChannel.inc
new file mode 100644
index 00000000000..3ad57aecf94
--- /dev/null
+++ b/llvm/tools/lli/Windows/RPCChannel.inc
@@ -0,0 +1,31 @@
+//=- RPCChannel.inc - LLVM out-of-process JIT execution for Windows --=//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// Implementation of the Windows-specific parts of the RPCChannel class
+// which executes JITed code in a separate process from where it was built.
+//
+//===----------------------------------------------------------------------===//
+
+namespace llvm {
+
+bool RPCChannel::createServer() { return false; }
+
+bool RPCChannel::createClient() { return false; }
+
+void RPCChannel::ReportError(int rc, size_t Size, std::string &ErrorMsg) {}
+
+int RPCChannel::WriteBytes(const void *Data, size_t Size) { return -1; }
+
+int RPCChannel::ReadBytes(void *Data, size_t Size) { return -1; }
+
+void RPCChannel::Wait() {}
+
+RPCChannel::~RPCChannel() {}
+
+} // namespace llvm
OpenPOWER on IntegriCloud