[Lldb-commits] [lldb] [lldb] Assert that CommandObject::DoExecute sets a return status (PR #196589)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri May 8 11:14:20 PDT 2026


================
@@ -190,6 +201,7 @@ class CommandReturnObject {
   std::optional<uint16_t> m_diagnostic_indent;
 
   lldb::ReturnStatus m_status = lldb::eReturnStatusStarted;
+  bool m_status_set = false;
----------------
JDevlieghere wrote:

Good idea, I think that would work quite nicely indeed.

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


More information about the lldb-commits mailing list