1 //===-- Interpreter.h - Abstract Execution Engine Interface -----*- C++ -*-===//
3 // 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
7 //===----------------------------------------------------------------------===//
9 // This file forces the interpreter to link in on certain operating systems.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_EXECUTIONENGINE_INTERPRETER_H
15 #define LLVM_EXECUTIONENGINE_INTERPRETER_H
17 #include "llvm/ExecutionEngine/ExecutionEngine.h"
19 extern "C" void LLVMLinkInInterpreter();
22 struct ForceInterpreterLinking
{
23 ForceInterpreterLinking() { LLVMLinkInInterpreter(); }
24 } ForceInterpreterLinking
;