diff options
author | Jim Ingham <jingham@apple.com> | 2012-12-07 17:43:38 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-12-07 17:43:38 +0000 |
commit | 6a51085e0987a6a54bda4fb5e862d5cdbc5af535 (patch) | |
tree | e1a6ab0cd8866afb3d3f10f567d190e7364f4248 /lldb/source/Core/Module.cpp | |
parent | ea2824dc886cdd54dd6f014428c095b0d747855a (diff) | |
download | bcm5719-llvm-6a51085e0987a6a54bda4fb5e862d5cdbc5af535.tar.gz bcm5719-llvm-6a51085e0987a6a54bda4fb5e862d5cdbc5af535.zip |
Separate initing the stdout/stderr for running the Python Script interpreter from initing the lldb.target/frame/etc globals,
and only do the latter when it makes sense to.
<rdar://problem/12554049>
llvm-svn: 169614
Diffstat (limited to 'lldb/source/Core/Module.cpp')
-rw-r--r-- | lldb/source/Core/Module.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index 22d03e38bcf..ffc9f7f2dc9 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -1179,7 +1179,9 @@ Module::LoadScriptingResourceInTarget (Target *target, Error& error) { StreamString scripting_stream; scripting_fspec.Dump(&scripting_stream); - bool did_load = script_interpreter->LoadScriptingModule(scripting_stream.GetData(), false, true, error); + const bool can_reload = false; + const bool init_lldb_globals = false; + bool did_load = script_interpreter->LoadScriptingModule(scripting_stream.GetData(), can_reload, init_lldb_globals, error); if (!did_load) return false; } |