[Lldb-commits] [PATCH] D145295: [lldb] Move ScriptedProcess private state update to implementation
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 13 15:29:09 PDT 2023
bulbazord added inline comments.
================
Comment at: lldb/examples/python/scripted_process/scripted_process.py:166-167
- Returns:
- lldb.SBError: An `lldb.SBError` with error code 0.
- """
- return lldb.SBError()
-
- @abstractmethod
- def should_stop(self):
- """ Check if the scripted process plugin should produce the stop event.
-
- Returns:
- bool: True if scripted process should broadcast a stop event.
- False otherwise.
- """
- pass
-
- def stop(self):
- """ Trigger the scripted process stop.
+ Args:
+ should_stop (bool): If True, resume will also
----------------
This seems incomplete?
================
Comment at: lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h:151
+ void ReverseTransform(bool &original_arg,
+ python::PythonObject transformed_arg, Status &error) {
+ python::PythonBoolean boolean_arg = python::PythonBoolean(
----------------
Should we do something with the error here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145295/new/
https://reviews.llvm.org/D145295
More information about the lldb-commits
mailing list