[Lldb-commits] [PATCH] D13638: Add a missing Mutex Locker in ResetCurrentInlinedDepth

Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 15 22:19:22 PDT 2015


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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13638.37556.patch
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151016/4ecea561/attachment.bin>


More information about the lldb-commits mailing list