summaryrefslogtreecommitdiff
path: root/tools/lli/ChildTarget/Windows/ChildTarget.inc
blob: bea0947b7ec71e66274c893cc58ba70817c276b0 (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
//=- 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;
}