summaryrefslogtreecommitdiff
path: root/tools/lli/Windows/RPCChannel.inc
blob: 3ad57aecf944a97574924a93450f18a82c0464cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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