llvm-6502/tools/lli/Windows/RemoteTargetExternal.inc
Andrew Kaylor 0ab5c6c16b Adding out-of-process execution support to lli.
At this time only Unix-based systems are supported.  Windows has stubs and should re-route to the simulated mode.

Thanks to Sriram Murali for contributions to this patch.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191843 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-02 17:12:36 +00:00

33 lines
948 B
C++

//= RemoteTargetExternal.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.
//
//===----------------------------------------------------------------------===//
//
// Definition of the Windows-specific parts of the RemoteTargetExternal class
// which is meant to execute JITed code in a separate process from where it was
// built. To support this functionality on Windows, implement these functions.
//
//===----------------------------------------------------------------------===//
namespace llvm {
void RemoteTargetExternal::create() {
}
int RemoteTargetExternal::WriteBytes(const void *Data, size_t Size) {
return 0;
}
int RemoteTargetExternal::ReadBytes(void *Data, size_t Size) {
return 0;
}
void RemoteTargetExternal::Wait() {
}
} // namespace llvm