LLVM 22.0.0git
Interpreter.h
Go to the documentation of this file.
1//===-- Interpreter.h - Abstract Execution Engine Interface -----*- C++ -*-===//
2//
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
6//
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
19
20extern "C" LLVM_ABI void LLVMLinkInInterpreter();
21
22namespace {
23 struct ForceInterpreterLinking {
24 ForceInterpreterLinking() { LLVMLinkInInterpreter(); }
25 } ForceInterpreterLinking;
26}
27
28#endif
#define LLVM_ABI
Definition Compiler.h:213
LLVM_ABI void LLVMLinkInInterpreter()
Empty function used to force the linker to link the LLVM interpreter.