aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorjimingham <jingham@apple.com>2025-05-02 11:51:21 -0700
committerGitHub <noreply@github.com>2025-05-02 11:51:21 -0700
commit0ddcd209ddc8956eb52d642937a4397c6b08449c (patch)
tree49f367710efdca16c7ea10690e6877f8f68ce9e8 /lldb/source/Plugins/ScriptInterpreter/Python
parent2f16cbc700004c9d60c4ea03d102ce5d3b1343b8 (diff)
downloadllvm-0ddcd209ddc8956eb52d642937a4397c6b08449c.zip
llvm-0ddcd209ddc8956eb52d642937a4397c6b08449c.tar.gz
llvm-0ddcd209ddc8956eb52d642937a4397c6b08449c.tar.bz2
Don't hold the Target's ModuleListLock over running LoadScriptingResourceInTarget (#138216)
That calls an unknown amount of Python code, and can do quite a bit of work - especially if people do things like launch scripted processes in this script affordance. Doing that while holding a major lock like the ModuleList lock is asking for trouble. I tried to make a test that would actually stall without this, but I couldn't come up with anything that reliably failed. You always have to get pretty unlucky.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions