[Lldb-commits] [lldb] Allow multiple destroy callbacks in `SBDebugger::SetDestroyCallback()` (PR #89868)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 26 13:48:17 PDT 2024


================
@@ -568,10 +569,22 @@ class Debugger : public std::enable_shared_from_this<Debugger>,
 
   static void ReportSymbolChange(const ModuleSpec &module_spec);
 
-  void
+  /// DEPRECATED. Use AddDestroyCallback and RemoveDestroyCallback instead.
+  /// Clear all previously added callbacks and only add the given one.
----------------
royitaqi wrote:

Added into comment

https://github.com/llvm/llvm-project/pull/89868


More information about the lldb-commits mailing list