This revision was automatically updated to reflect the committed changes.
Closed by commit rL250493: Add a missing Mutex Locker in 
ResetCurrentInlinedDepth (authored by kfischer).

Changed prior to commit:
  http://reviews.llvm.org/D13638?vs=37050&id=37556#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D13638

Files:
  lldb/trunk/source/Target/StackFrameList.cpp

Index: lldb/trunk/source/Target/StackFrameList.cpp
===================================================================
--- lldb/trunk/source/Target/StackFrameList.cpp
+++ lldb/trunk/source/Target/StackFrameList.cpp
@@ -105,6 +105,8 @@
 void
 StackFrameList::ResetCurrentInlinedDepth ()
 {
+    Mutex::Locker locker (m_mutex);
+
     if (m_show_inlined_frames)
     {        
         GetFramesUpTo(0);


Index: lldb/trunk/source/Target/StackFrameList.cpp
===================================================================
--- lldb/trunk/source/Target/StackFrameList.cpp
+++ lldb/trunk/source/Target/StackFrameList.cpp
@@ -105,6 +105,8 @@
 void
 StackFrameList::ResetCurrentInlinedDepth ()
 {
+    Mutex::Locker locker (m_mutex);
+
     if (m_show_inlined_frames)
     {        
         GetFramesUpTo(0);
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to