================ @@ -792,6 +792,12 @@ Status PluginManager::SaveCore(const lldb::ProcessSP &process_sp, } } + // report for one plugin if a name is specified. + if (error.Success() && !plugin_name.empty()) + error = Status::FromErrorStringWithFormatv( ---------------- DavidSpickett wrote:
Won't this error be overwritten by the one set on line 804? if (error.Success() && whatever) some error if (error.Success()) some other error return the error https://github.com/llvm/llvm-project/pull/143126 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits