blob: a14707840ad83af943782376a148a0a7f919633c [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===-- Interpreter.h - Abstract Execution Engine Interface -----*- C++ -*-===//
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// This file forces the interpreter to link in on certain operating systems.
11// (Windows).
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_EXECUTIONENGINE_INTERPRETER_H
16#define LLVM_EXECUTIONENGINE_INTERPRETER_H
17
18#include "llvm/ExecutionEngine/ExecutionEngine.h"
19
20extern "C" void LLVMLinkInInterpreter();
21
22namespace {
23 struct ForceInterpreterLinking {
24 ForceInterpreterLinking() { LLVMLinkInInterpreter(); }
25 } ForceInterpreterLinking;
26}
27
28#endif