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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to