diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-06-23 21:30:15 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-06-23 21:30:15 +0000 |
commit | d81c48392888bcc62ed8628ee3005a34d151ea96 (patch) | |
tree | 9f641dbc4393eb1da8030c223438e0cd6acca4e0 /lldb/source/Plugins/Process/Utility/HistoryThread.cpp | |
parent | b8d6d98efbfba42ae73a072a9796196ea0acc3a1 (diff) | |
download | bcm5719-llvm-d81c48392888bcc62ed8628ee3005a34d151ea96.tar.gz bcm5719-llvm-d81c48392888bcc62ed8628ee3005a34d151ea96.zip |
Temporarily roll back the parts of r211241 where I fixed a
mistake in the lock acquistion in HistoryUnwind and HistoryThread.
We've got a deadlock with one use case of HistoryUnwind; I
need to figure out what lock ordering is causing this and fix
it for real.
<rdar://problem/17411904>
llvm-svn: 211541
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/HistoryThread.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/HistoryThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/HistoryThread.cpp b/lldb/source/Plugins/Process/Utility/HistoryThread.cpp index cdb0528394c..590bb0162c8 100644 --- a/lldb/source/Plugins/Process/Utility/HistoryThread.cpp +++ b/lldb/source/Plugins/Process/Utility/HistoryThread.cpp @@ -78,7 +78,7 @@ HistoryThread::CreateRegisterContextForFrame (StackFrame *frame) lldb::StackFrameListSP HistoryThread::GetStackFrameList () { - Mutex::Locker locker(m_framelist_mutex); + Mutex::Locker (m_framelist_mutex); // FIXME do not throw away the lock after we acquire it.. if (m_framelist.get() == NULL) { m_framelist.reset (new StackFrameList (*this, StackFrameListSP(), true)); |