[Lldb-commits] [lldb] SBDebugger: Add new APIs `AddDestroyCallback` and `RemoveDestroyCallback` (PR #89868)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 2 21:17:39 PDT 2024


================
@@ -321,9 +321,26 @@ class LLDB_API SBDebugger {
 
   void SetLoggingCallback(lldb::LogOutputCallback log_callback, void *baton);
 
+  /// DEPRECATED: We used to only support one Destroy callback. Now that we
+  /// support Add and Remove, you should only remove Destroy callbacks that
+  /// you Add-ed. Use Add and Remove instead.
----------------
royitaqi wrote:

Removing the public "DEPRECATED". Updating the private "DEPRECATED" according to your suggestion.

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


More information about the lldb-commits mailing list