Skip to content

Commit

Permalink
Also initialize ScriptInterpreterNone if Python is disabled
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Keno committed Aug 23, 2015
1 parent 7bb1226 commit 6e77677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/API/SystemInitializerFull.cpp
Expand Up @@ -231,14 +231,14 @@ void
SystemInitializerFull::Initialize()
{
SystemInitializerCommon::Initialize();
ScriptInterpreterNone::Initialize();

#if !defined(LLDB_DISABLE_PYTHON)
InitializeSWIG();

// 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

Expand Down

0 comments on commit 6e77677

Please sign in to comment.