Interpreter.h 873 B

123456789101112131415161718192021222324252627
  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. #ifndef LLVM_EXECUTIONENGINE_INTERPRETER_H
  14. #define LLVM_EXECUTIONENGINE_INTERPRETER_H
  15. #include "llvm/ExecutionEngine/ExecutionEngine.h"
  16. extern "C" void LLVMLinkInInterpreter();
  17. namespace {
  18. struct ForceInterpreterLinking {
  19. ForceInterpreterLinking() { LLVMLinkInInterpreter(); }
  20. } ForceInterpreterLinking;
  21. }
  22. #endif