[Lldb-commits] [lldb] [lldb] Enable locate module callback for main executable (PR #160199)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 23 14:03:23 PDT 2025
https://github.com/clayborg requested changes to this pull request.
I would like to see this functionality in `ModuleList::GetSharedModule(...)`, even if we must pass a target in there. We pass down the `module_search_paths_ptr` which come from the target's settings anyway, so it would be worth seeing all of the callers to this function and see if they all can pass in a target. If we have a target, we can access all target settings without manually passing `module_search_paths_ptr` in and the target has a platform inside of it. Any solution we come up with should work for both executables and shared libraries in a consistent way.
https://github.com/llvm/llvm-project/pull/160199
More information about the lldb-commits
mailing list