================
@@ -22,8 +22,26 @@ Status SaveCoreOptions::SetPluginName(const char *name) {
   }
 
   if (!PluginManager::IsRegisteredObjectFilePluginName(name)) {
----------------
DavidSpickett wrote:

In other words:
if (!PluginManager::IsRegisteredObjectFilePluginName(name)) {

Is checking a different list of names than:
PluginManager::GetSaveCorePluginNames();

Will print.

So a user could use a valid plugin name, for a plugin that doesn't happen to 
support core files. Then read the error message later and see that name doesn't 
even appear even though the command accepted it.

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

Reply via email to