[Lldb-commits] [lldb] Add `SBModule.SetLocateDwoCallback` (PR #69517)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 19 09:42:33 PDT 2023


https://github.com/bulbazord commented:

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?

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


More information about the lldb-commits mailing list