mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 15:41:35 +08:00
Only try to load the OS plug-in after a shared library load if we don't already have one.
<rdar://problem/24162686> llvm-svn: 263602
This commit is contained in:
@@ -6410,7 +6410,10 @@ Process::ModulesDidLoad (ModuleList &module_list)
|
||||
language_runtime_sp->ModulesDidLoad(module_list);
|
||||
}
|
||||
|
||||
LoadOperatingSystemPlugin(false);
|
||||
// If we don't have an operating system plug-in, try to load one since
|
||||
// loading shared libraries might cause a new one to try and load
|
||||
if (!m_os_ap)
|
||||
LoadOperatingSystemPlugin(false);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user