mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user