summaryrefslogtreecommitdiffstats
path: root/tools/lli/ChildTarget/Windows/ChildTarget.inc
blob: 45db2b0a808164b4c0684b013de4f7fb0ca629c8 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
//=- ChildTarget.inc - Child process for external 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.
//
//===----------------------------------------------------------------------===//
//
// Non-implementation of the Windows-specific parts of the ChildTarget class
// which executes JITed code in a separate process from where it was built.
//
//===----------------------------------------------------------------------===//

LLIChildTarget::~LLIChildTarget() {
}

// The RemoteTargetExternal implementation should prevent us from ever getting
// here on Windows, but nothing prevents a user from running this directly.
void LLIChildTarget::initializeConnection() {
  assert(0 && "lli-child-target is not implemented for Windows");
}

int LLIChildTarget::WriteBytes(const void *Data, size_t Size) {
  return 0;
}

int LLIChildTarget::ReadBytes(void *Data, size_t Size) {
  return 0;
}

uint64_t LLIChildTarget::allocate(uint32_t Alignment, uint32_t Size) {
  return 0;
}

void LLIChildTarget::makeSectionExecutable(uint64_t Addr, uint32_t Size) {
}

void LLIChildTarget::InvalidateInstructionCache(const void *Addr,
                                        size_t Len) {
}

void LLIChildTarget::releaseMemory(uint64_t Addr, uint32_t Size) {
}