zhyty wrote:

> Because SymbolFile is holding onto the function pointer as a static member, 
> this is a global setting that you can't apply to only just one `SBDebugger` 
> object. It's an all-or-nothing thing. Maybe that's what you want, but LLDB 
> already has architectural issues with certain functionality being difficult 
> to detangle from global state (e.g. Logging). Maybe we could make it a 
> property of the Debugger instead?

That sounds good to me, though I didn't think there was a path to the debugger 
from `SymbolFileDWARF`?

https://github.com/llvm/llvm-project/pull/69517
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to