[Lldb-commits] [PATCH] D139250: [lldb] Add ScriptedPlatform python implementation

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 13 13:39:32 PST 2022


JDevlieghere added inline comments.


================
Comment at: lldb/bindings/python/python-wrapper.swig:317
 
+PythonObject lldb_private::LLDBSwigPythonCreateScriptedPlatform(
+    const char *python_class_name, const char *session_dictionary_name,
----------------
This looks pretty similar to `LLDBSwigPythonCreateScriptedThread` and `LLDBSwigPythonCreateScriptedProcess`. Can we factor out the common parts?


================
Comment at: lldb/examples/python/scripted_process/scripted_platform.py:33
+
+        processes = {
+            420: {
----------------
Why is this method implemented and not a `pass` like the others?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139250/new/

https://reviews.llvm.org/D139250



More information about the lldb-commits mailing list