mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
<rdar://problem/11202426>
Work around a deadlocking issue where "SBDebugger::MemoryPressureDetected ()" is being called and is causing a deadlock. We now just try and get the lock when trying to trim down the unique modules so we don't deadlock debugger GUI programs until we can find the root cause. llvm-svn: 154339
This commit is contained in:
@@ -520,7 +520,8 @@ public:
|
||||
// the global shared module list
|
||||
if (m_cleanup_option.GetOptionValue ())
|
||||
{
|
||||
ModuleList::RemoveOrphanSharedModules();
|
||||
const bool mandatory = true;
|
||||
ModuleList::RemoveOrphanSharedModules(mandatory);
|
||||
}
|
||||
result.GetOutputStream().Printf("%u targets deleted.\n", (uint32_t)num_targets_to_delete);
|
||||
result.SetStatus(eReturnStatusSuccessFinishResult);
|
||||
|
||||
Reference in New Issue
Block a user