[Lldb-commits] [lldb] [lldb] Enable locate module callback for main executable (PR #160199)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 14 15:30:19 PDT 2025
================
@@ -1303,12 +1306,16 @@ PlatformDarwin::LaunchProcess(lldb_private::ProcessLaunchInfo &launch_info) {
lldb_private::Status PlatformDarwin::FindBundleBinaryInExecSearchPaths(
const ModuleSpec &module_spec, Process *process, ModuleSP &module_sp,
- const FileSpecList *module_search_paths_ptr,
llvm::SmallVectorImpl<ModuleSP> *old_modules, bool *did_create_ptr) {
const FileSpec &platform_file = module_spec.GetFileSpec();
- // See if the file is present in any of the module_search_paths_ptr
+ TargetSP target_sp = module_spec.GetTargetSP();
+ FileSpecList module_search_paths;
+ if (target_sp) {
----------------
GeorgeHuyubo wrote:
apply elsewhere
https://github.com/llvm/llvm-project/pull/160199
More information about the lldb-commits
mailing list