summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-09-17 03:55:58 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-09-17 03:55:58 +0000
commita879f40ba105ab5ceb79725424c77c1fd68a58a1 (patch)
treecd362561f17b9cdf37564c78cceb8e76e5fdec12 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent4816e516e5ca77d623f96699834e86d924022af9 (diff)
downloadbcm5719-llvm-a879f40ba105ab5ceb79725424c77c1fd68a58a1.tar.gz
bcm5719-llvm-a879f40ba105ab5ceb79725424c77c1fd68a58a1.zip
[ScriptInterpreter] Initialize globals when loading a scripting module.
The LoadScriptingModule used by command script import wasn't initializing the LLDB global variables (things like `lldb.frame` and `lldb.debugger`). They would get initialized however when running the interactive script interpreter or running a single script line (e.g. `script print(lldb.frame)`). This patch fixes that by properly initializing the globals when loading a Python module. Differential revision: https://reviews.llvm.org/D67644 llvm-svn: 372060
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud