================
@@ -83,7 +83,11 @@ ModuleSP DynamicLoader::GetTargetExecutable() {
ModuleSpec module_spec(executable->GetFileSpec(),
executable->GetArchitecture());
auto module_sp = std::make_shared<Module>(module_spec);
-
+ // If we're a coredump and we already have a main executable, we don't
+ // need to reload the module list that target already has
----------------
Jlalond wrote:
In the Testcase in MinidumpUUID, the one module which has a matching filename
that isn't an actual match needs this check in order to work.
The situation is the DYLD will itself create a stub depending on some
conditions, but this is after the process has already made a stub. So we need
some way for the CoreProcess to supercede the dynamic loader clearing all
loaded modules again, and so I added this
https://github.com/llvm/llvm-project/pull/109477
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits