-//===- ExecutionEngine.h - Abstract Execution Engine Interface --*- C++ -*-===//
+//===-- Interpreter.h - Abstract Execution Engine Interface -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
-// This file was developed by Jeff Cohen and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include <cstdlib>
-namespace llvm {
- extern void LinkInInterpreter();
-}
+extern "C" void LLVMLinkInInterpreter();
namespace {
struct ForceInterpreterLinking {
if (std::getenv("bar") != (char*) -1)
return;
- llvm::LinkInInterpreter();
+ LLVMLinkInInterpreter();
}
} ForceInterpreterLinking;
}