summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeno Fischer <kfischer@college.harvard.edu>2015-08-23 09:05:29 +0000
committerKeno Fischer <kfischer@college.harvard.edu>2015-08-23 09:05:29 +0000
commit6e77677f7bd17d29702da05061d0ccd5105d25be (patch)
tree3304777acfd18994c7d4d66a3c17ef0582578e9b
parent7bb12261a35352ce103e64551b49e7c20acc86e2 (diff)
downloadbcm5719-llvm-6e77677f7bd17d29702da05061d0ccd5105d25be.tar.gz
bcm5719-llvm-6e77677f7bd17d29702da05061d0ccd5105d25be.zip
Also initialize ScriptInterpreterNone if Python is disabled
Summary: We get an assertion otherwise because the None Interpreter cannot be found Reviewers: zturner Subscribers: zturner, lldb-commits Differential Revision: http://reviews.llvm.org/D11898 llvm-svn: 245808
-rw-r--r--lldb/source/API/SystemInitializerFull.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SystemInitializerFull.cpp b/lldb/source/API/SystemInitializerFull.cpp
index 8218eb3f84e..dfe077e2005 100644
--- a/lldb/source/API/SystemInitializerFull.cpp
+++ b/lldb/source/API/SystemInitializerFull.cpp
@@ -231,6 +231,7 @@ void
SystemInitializerFull::Initialize()
{
SystemInitializerCommon::Initialize();
+ ScriptInterpreterNone::Initialize();
#if !defined(LLDB_DISABLE_PYTHON)
InitializeSWIG();
@@ -238,7 +239,6 @@ SystemInitializerFull::Initialize()
// ScriptInterpreterPython::Initialize() depends on things like HostInfo being initialized
// so it can compute the python directory etc, so we need to do this after
// SystemInitializerCommon::Initialize().
- ScriptInterpreterNone::Initialize();
ScriptInterpreterPython::Initialize();
#endif
OpenPOWER on IntegriCloud