[Lldb-commits] [lldb] [lldb] Add `SBModule.SetLocateDwoCallback` (PR #69517)
Tom Yang via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 20 14:35:06 PDT 2023
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
More information about the lldb-commits
mailing list