summaryrefslogtreecommitdiff
path: root/tools/lli/Windows
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-24 17:18:52 +0000
committerAlp Toker <alp@nuanti.com>2014-01-24 17:18:52 +0000
commit27ce8feb4adbb13c0efcc2d560c93dfb71785cb2 (patch)
tree376ab5932db318c557a2be458a3acb368bf0f2f0 /tools/lli/Windows
parentc166623dcd48fb5379927a64d8ffbf1e2d500e16 (diff)
downloadllvm-27ce8feb4adbb13c0efcc2d560c93dfb71785cb2.tar.gz
llvm-27ce8feb4adbb13c0efcc2d560c93dfb71785cb2.tar.bz2
llvm-27ce8feb4adbb13c0efcc2d560c93dfb71785cb2.tar.xz
Report lli remote IO errors consistently
This enables IO error reports in both the child and server processes. The scheme still isn't entirely satisfactory and output is jumbled but it beats having no output at all. This will hopefully unblock ARM support (PR18057). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli/Windows')
-rw-r--r--tools/lli/Windows/RPCChannel.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/lli/Windows/RPCChannel.inc b/tools/lli/Windows/RPCChannel.inc
index 3ad57aecf9..82f2acbf14 100644
--- a/tools/lli/Windows/RPCChannel.inc
+++ b/tools/lli/Windows/RPCChannel.inc
@@ -18,11 +18,9 @@ bool RPCChannel::createServer() { return false; }
bool RPCChannel::createClient() { return false; }
-void RPCChannel::ReportError(int rc, size_t Size, std::string &ErrorMsg) {}
+bool RPCChannel::WriteBytes(const void *Data, size_t Size) { return false; }
-int RPCChannel::WriteBytes(const void *Data, size_t Size) { return -1; }
-
-int RPCChannel::ReadBytes(void *Data, size_t Size) { return -1; }
+bool RPCChannel::ReadBytes(void *Data, size_t Size) { return false; }
void RPCChannel::Wait() {}