1 //===---------- RPCChannel.h - LLVM out-of-process JIT execution ----------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Definition of the RemoteTargetExternal class which executes JITed code in a
11 // separate process from where it was built.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_TOOLS_LLI_RPCCHANNEL_H
16 #define LLVM_TOOLS_LLI_RPCCHANNEL_H
25 std::string ChildName;
30 /// Start the remote process.
32 /// @returns True on success. On failure, ErrorMsg is updated with
33 /// descriptive text of the encountered error.
38 // This will get filled in as a point to an OS-specific structure.
41 bool WriteBytes(const void *Data, size_t Size);
42 bool ReadBytes(void *Data, size_t Size);
47 } // end namespace llvm