This patch is an update of D95713 since the commit have been reverted.
It fixes the hangs, crashes and other asynchronous issues when using Scripted Processes.
rdar://65508855
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Paths
| Differential D100384
[lldb/Plugins] Update ScriptedProcess Process Plugin ClosedPublic Authored by mib on Apr 13 2021, 6:58 AM.
Details Summary This patch is an update of D95713 since the commit have been reverted. It fixes the hangs, crashes and other asynchronous issues when using Scripted Processes. rdar://65508855 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diff Detail
Event Timeline
mib marked an inline comment as done. Comment ActionsUse Doxygen group comment for ScriptedProcess members. This revision is now accepted and ready to land.Apr 14 2021, 2:03 PM Comment Actions A bunch of little comments. I was also curious why you directly set the running private state, but use the async thread to generate the stopped events?
This revision was landed with ongoing or failed builds.Jul 22 2021, 5:51 AM Closed by commit rG312b43da0500: [lldb/Plugins] Add ScriptedProcess Process Plugin (authored by mib). · Explain Why This revision was automatically updated to reflect the committed changes. mib added a parent revision: D95713: [lldb/Plugins] Add ScriptedProcess Process Plugin.Aug 4 2021, 7:19 PM mib added a child revision: D105788: [LLDB] Silence warnings from ScriptedProcessPythonInterface.cpp.
Revision Contents
Diff 360779 lldb/examples/python/scripted_process/my_scripted_process.py
lldb/examples/python/scripted_process/scripted_process.py
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/include/lldb/Interpreter/ScriptedProcessInterface.h
lldb/include/lldb/Target/Process.h
lldb/source/Plugins/Process/CMakeLists.txtlldb/source/Plugins/Process/scripted/CMakeLists.txt
lldb/source/Plugins/Process/scripted/ScriptedProcess.h
lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
lldb/source/Target/Target.cpp
lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
|
clang-tidy: error: 'lldb/API/SBData.h' file not found [clang-diagnostic-error]
not useful