[Lldb-commits] [lldb] Fix return value of 'PluginManager::RegisterPlugin()'. (PR #114120)
Miro Bucko via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 29 13:15:30 PDT 2024
https://github.com/mbucko created https://github.com/llvm/llvm-project/pull/114120
None
>From 3c831942c752004a6e46c1f5ddd5e783ee2176e0 Mon Sep 17 00:00:00 2001
From: Miro Bucko <mbucko at meta.com>
Date: Tue, 29 Oct 2024 13:02:21 -0700
Subject: [PATCH] Fix return value of 'PluginManager::RegisterPlugin()'.
---
lldb/source/Core/PluginManager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/source/Core/PluginManager.cpp b/lldb/source/Core/PluginManager.cpp
index a5219025495a91..50bbfba33ee512 100644
--- a/lldb/source/Core/PluginManager.cpp
+++ b/lldb/source/Core/PluginManager.cpp
@@ -209,7 +209,7 @@ template <typename Instance> class PluginInstances {
Instance instance =
Instance(name, description, callback, std::forward<Args>(args)...);
m_instances.push_back(instance);
- return false;
+ return true;
}
bool UnregisterPlugin(typename Instance::CallbackType callback) {
More information about the lldb-commits
mailing list