[all-commits] [llvm/llvm-project] c19280: [lldb] Add a way to get a scripted process impleme...
Med Ismail Bennani via All-commits
all-commits at lists.llvm.org
Fri Feb 3 12:29:21 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c1928033047409f977b26ffc938d59188f1ced97
https://github.com/llvm/llvm-project/commit/c1928033047409f977b26ffc938d59188f1ced97
Author: Med Ismail Bennani <medismail.bennani at gmail.com>
Date: 2023-02-03 (Fri, 03 Feb 2023)
Changed paths:
M lldb/bindings/interface/SBProcess.i
M lldb/bindings/python/python-typemaps.swig
M lldb/include/lldb/API/SBDefines.h
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBProcess.cpp
M lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
M lldb/source/Plugins/Process/scripted/ScriptedProcess.h
M lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
M lldb/test/API/functionalities/scripted_process/dummy_scripted_process.py
M lldb/test/API/python_api/process/TestProcessAPI.py
Log Message:
-----------
[lldb] Add a way to get a scripted process implementation from the SBAPI
This patch introduces a new `GetScriptedImplementation` method to the
SBProcess class in the SBAPI. It will allow users of Scripted Processes to
fetch the scripted implementation object from to script interpreter to be
able to interact with it directly (without having to go through lldb).
This allows to user to perform action that are not specified in the
scripted process interface, like calling un-specified methods, but also
to enrich the implementation, by passing it complex objects.
Differential Revision: https://reviews.llvm.org/D143236
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
More information about the All-commits
mailing list