blob: 0749409766e390db81e220fe1b495e4d5a2a6921 [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===-- Interpreter.h - Abstract Execution Engine Interface -----*- C++ -*-===//
2//
Andrew Walbran16937d02019-10-22 13:54:20 +01003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006//
7//===----------------------------------------------------------------------===//
8//
9// This file forces the interpreter to link in on certain operating systems.
10// (Windows).
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_EXECUTIONENGINE_INTERPRETER_H
15#define LLVM_EXECUTIONENGINE_INTERPRETER_H
16
17#include "llvm/ExecutionEngine/ExecutionEngine.h"
18
19extern "C" void LLVMLinkInInterpreter();
20
21namespace {
22 struct ForceInterpreterLinking {
23 ForceInterpreterLinking() { LLVMLinkInInterpreter(); }
24 } ForceInterpreterLinking;
25}
26
27#endif