mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
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
This commit is contained in:
32
tools/lli/Windows/RemoteTargetExternal.inc
Normal file
32
tools/lli/Windows/RemoteTargetExternal.inc
Normal file
@ -0,0 +1,32 @@
|
||||
//= 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
|
Reference in New Issue
Block a user