[Lldb-commits] [lldb] Add SBDebugger::AddCreateCallback API (PR #111206)

via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 7 10:33:48 PDT 2024


jeffreytan81 wrote:

> Also, if you are going to hook creation, you should also hook destruction, shouldn't you? Whatever accounting you are doing for a debugger's once it exists might need to be torn down when that debugger goes away.

Right, `SBDebugger::AddDestroyCallback()` already exists; it was added by https://github.com/llvm/llvm-project/pull/89868

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


More information about the lldb-commits mailing list