<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:
Greg Clayton
2012-04-09 20:22:01 +00:00
parent 3ad11ff90f
commit 0cd7086604
5 changed files with 29 additions and 10 deletions

View File

@@ -86,7 +86,8 @@ namespace lldb {
void
ClearModuleInfo (void)
{
ModuleList::RemoveOrphanSharedModules();
const bool mandatory = true;
ModuleList::RemoveOrphanSharedModules(mandatory);
}
void