================ @@ -177,7 +177,10 @@ class CommandObjectFrameDiagnose : public CommandObjectParsed { DumpValueObjectOptions options; options.SetDeclPrintingHelper(helper); - ValueObjectPrinter printer(valobj_sp.get(), &result.GetOutputStream(), + // We've already handled the case where the value object sp is null, so + // this is just to make sure future changes don't skip that: + assert(valobj_sp.get() && "Must have a valid ValueObject to print"); + ValueObjectPrinter printer(*(valobj_sp.get()), &result.GetOutputStream(), ---------------- jimingham wrote:
Apparently it can! cool... https://github.com/llvm/llvm-project/pull/81314 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits