[Lldb-commits] [PATCH] D129614: [lldb/crashlog] Surface error using SBCommandReturnObject argument

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 3 10:10:01 PDT 2022


kastiglione accepted this revision.
kastiglione added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: lldb/examples/python/crashlog.py:1251-1253
+                    err = lldb.SBError()
+                    err.SetErrorString(str(e))
+                    result.SetError(err)
----------------
minor but I think this can be a single statement: `result.SetError(str(e))`


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

https://reviews.llvm.org/D129614



More information about the lldb-commits mailing list