[Lldb-commits] [lldb] [lldb] add plugin names to process save-core error output. (PR #143126)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 9 07:13:56 PDT 2025
================
@@ -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
More information about the lldb-commits
mailing list