[Lldb-commits] [lldb] Add the ability to define a Python based command that uses CommandObjectParsed (PR #70734)

via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 13 13:51:22 PST 2023


================
@@ -2755,6 +2755,58 @@ bool ScriptInterpreterPythonImpl::RunScriptBasedCommand(
   return ret_val;
 }
 
+bool ScriptInterpreterPythonImpl::RunScriptBasedParsedCommand(
+    StructuredData::GenericSP impl_obj_sp, Args &args,
+    ScriptedCommandSynchronicity synchronicity,
+    lldb_private::CommandReturnObject &cmd_retobj, Status &error,
----------------
jimingham wrote:

In this patch, I was just adding the Parsed command to the Raw one that was already there, without changing more than I needed to.  If we want to go back and clean up little things like this in both interfaces, I'd rather do that as a separate piece of work.

https://github.com/llvm/llvm-project/pull/70734


More information about the lldb-commits mailing list