We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa89109 + a8b50db commit ff8a65eCopy full SHA for ff8a65e
lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
@@ -327,9 +327,11 @@ void ProcessMachCore::LoadBinariesViaMetadata() {
327
// corefile
328
core_objfile->LoadCoreFileImages(*this);
329
330
- // LoadCoreFileImges may have set the dynamic loader; if we now have
331
- // a dynamic loader, save its name so we don't un-set it later.
332
- if (GetDynamicLoader())
+ // LoadCoreFileImges may have set the dynamic loader, e.g. in
+ // PlatformDarwinKernel::LoadPlatformBinaryAndSetup().
+ // If we now have a dynamic loader, save its name so we don't
333
+ // un-set it later.
334
+ if (m_dyld_up)
335
m_dyld_plugin_name = GetDynamicLoader()->GetPluginName();
336
}
337
0 commit comments