[Lldb-commits] [lldb] [lldb] Fallback to expression eval when Dump of variable fails in dwim-print (PR #151374)

Augusto Noronha via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 30 13:57:32 PDT 2025


================
@@ -186,8 +182,11 @@ void CommandObjectDWIMPrint::DoExecute(StringRef command,
                                      expr);
       }
 
-      dump_val_object(*valobj_sp);
-      return;
+      bool failed = errorToBool(dump_val_object(*valobj_sp));
----------------
augusto2112 wrote:

I'm happy with just a log of the previous errors

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


More information about the lldb-commits mailing list