summaryrefslogtreecommitdiff
path: root/clang-r344140b/include/llvm/ExecutionEngine/Interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-r344140b/include/llvm/ExecutionEngine/Interpreter.h')
-rw-r--r--clang-r344140b/include/llvm/ExecutionEngine/Interpreter.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/clang-r344140b/include/llvm/ExecutionEngine/Interpreter.h b/clang-r344140b/include/llvm/ExecutionEngine/Interpreter.h
new file mode 100644
index 00000000..a1470784
--- /dev/null
+++ b/clang-r344140b/include/llvm/ExecutionEngine/Interpreter.h
@@ -0,0 +1,28 @@
+//===-- Interpreter.h - Abstract Execution Engine Interface -----*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file forces the interpreter to link in on certain operating systems.
+// (Windows).
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_EXECUTIONENGINE_INTERPRETER_H
+#define LLVM_EXECUTIONENGINE_INTERPRETER_H
+
+#include "llvm/ExecutionEngine/ExecutionEngine.h"
+
+extern "C" void LLVMLinkInInterpreter();
+
+namespace {
+ struct ForceInterpreterLinking {
+ ForceInterpreterLinking() { LLVMLinkInInterpreter(); }
+ } ForceInterpreterLinking;
+}
+
+#endif