]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/llvm/tools/lli/ChildTarget/Windows/ChildTarget.inc
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / llvm / tools / lli / ChildTarget / Windows / ChildTarget.inc
1 //=- ChildTarget.inc - Child process for external JIT execution for Windows -=//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Non-implementation of the Windows-specific parts of the ChildTarget class
11 // which executes JITed code in a separate process from where it was built.
12 //
13 //===----------------------------------------------------------------------===//
14
15 LLIChildTarget::~LLIChildTarget() {
16 }
17
18 // The RemoteTargetExternal implementation should prevent us from ever getting
19 // here on Windows, but nothing prevents a user from running this directly.
20 void LLIChildTarget::initializeConnection() {
21   assert(0 && "lli-child-target is not implemented for Windows");
22 }
23
24 int LLIChildTarget::WriteBytes(const void *Data, size_t Size) {
25   return 0;
26 }
27
28 int LLIChildTarget::ReadBytes(void *Data, size_t Size) {
29   return 0;
30 }
31
32 uint64_t LLIChildTarget::allocate(uint32_t Alignment, uint32_t Size) {
33   return 0;
34 }
35
36 void LLIChildTarget::makeSectionExecutable(uint64_t Addr, uint32_t Size) {
37 }
38
39 void LLIChildTarget::InvalidateInstructionCache(const void *Addr,
40                                         size_t Len) {
41 }
42
43 void LLIChildTarget::releaseMemory(uint64_t Addr, uint32_t Size) {
44 }