diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-06-03 20:40:12 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-06-03 20:40:12 +0000 |
commit | 1740be7cd970f7d19143c9dd9003bca43c91d3fb (patch) | |
tree | aac82032668478953aaee93d009405947df9b532 | |
parent | b4aabeb8d72692d85292f435881476cc42ae8b6c (diff) | |
download | bcm5719-llvm-1740be7cd970f7d19143c9dd9003bca43c91d3fb.tar.gz bcm5719-llvm-1740be7cd970f7d19143c9dd9003bca43c91d3fb.zip |
Disable MCJIT on non-Darwin platforms
Currently the runtime dynamic linker lacks object file support for anything
other than Mach-O.
llvm-svn: 132583
-rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 |