================
@@ -698,22 +699,33 @@ void DynamicLoaderPOSIXDYLD::LoadAllCurrentModules() {
ModuleSP executable = GetTargetExecutable();
SetLoadedModule(executable, m_rendezvous.GetLinkMapAddress());
+ Target &target = m_process->GetTarget();
std::vector<FileSpec> module_names;
for (I = m_rendezvous.begin(), E = m_rendezvous.end(); I != E; ++I)
module_names.push_back(I->file_spec);
- m_process->PrefetchModuleSpecs(
- module_names, m_process->GetTarget().GetArchitecture().GetTriple());
+ m_process->PrefetchModuleSpecs(module_names,
+ target.GetArchitecture().GetTriple());
- auto load_module_fn = [this, &module_list,
+ auto load_module_fn = [this, &module_list, &target,
&log](const DYLDRendezvous::SOEntry &so_entry) {
ModuleSP module_sp = LoadModuleAtAddress(
so_entry.file_spec, so_entry.link_addr, so_entry.base_addr, true);
+ if (!module_sp && !m_process->IsLiveDebugSession()) {
----------------
Jlalond wrote:
nit: we should add a comment we're adding placeholders for all the `so` which
we were unable to find
https://github.com/llvm/llvm-project/pull/177289
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits