[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:43 PDT 2025


================
@@ -476,9 +476,9 @@ class ModuleList {
 
   static Status
   GetSharedModule(const ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
-                  const FileSpecList *module_search_paths_ptr,
                   llvm::SmallVectorImpl<lldb::ModuleSP> *old_modules,
-                  bool *did_create_ptr, bool always_create = false);
+                  bool *did_create_ptr, bool always_create = false,
+                  bool allow_locate_callback = true);
----------------
JDevlieghere wrote:

Nit: what does "allow" mean? Allow based on what? Would "invoke" be more precise?
```suggestion
                  bool invoke_locate_callback = true);
```

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


More information about the lldb-commits mailing list