[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 Jul 13 10:29:08 PDT 2022


kastiglione added inline comments.


================
Comment at: lldb/examples/python/crashlog.py:1013-1015
+        nonlocal result
+        result.SetError(sb_error, "error: %s" % message)
+        return
----------------
Is this `error` function needed? `SetError` prepends the string "error: ".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129614



More information about the lldb-commits mailing list