[Lldb-commits] [lldb] [lldb] Enable locate module callback for main executable (PR #160199)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 1 16:03:46 PDT 2025
================
@@ -767,9 +763,19 @@ Platform::ResolveExecutable(const ModuleSpec &module_spec,
Status error;
for (const ArchSpec &arch : GetSupportedArchitectures(process_host_arch)) {
resolved_module_spec.GetArchitecture() = arch;
- error =
- ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp,
- module_search_paths_ptr, nullptr, nullptr);
+
+ // Call locate module callback first, then fallback to standard path
----------------
JDevlieghere wrote:
```suggestion
// Call locate module callback first, then fallback to standard path.
```
https://github.com/llvm/llvm-project/pull/160199
More information about the lldb-commits
mailing list