From 1740be7cd970f7d19143c9dd9003bca43c91d3fb Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 3 Jun 2011 20:40:12 +0000 Subject: Disable MCJIT on non-Darwin platforms Currently the runtime dynamic linker lacks object file support for anything other than Mach-O. llvm-svn: 132583 --- lldb/source/Expression/ClangExpressionParser.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lldb/source/Expression/ClangExpressionParser.cpp') diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 255013ea0f8..2c411e4a623 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -52,7 +52,10 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ExecutionEngine/ExecutionEngine.h" -//#define USE_STANDARD_JIT +#if !defined(__APPLE__) +#define USE_STANDARD_JIT +#endif + #if defined (USE_STANDARD_JIT) #include "llvm/ExecutionEngine/JIT.h" #else -- cgit v1.2.3