[Lldb-commits] [lldb] r167910 - /lldb/trunk/source/Target/Thread.cpp

Jason Molenda jmolenda at apple.com
Tue Nov 13 20:26:02 PST 2012


Author: jmolenda
Date: Tue Nov 13 22:26:02 2012
New Revision: 167910

URL: http://llvm.org/viewvc/llvm-project?rev=167910&view=rev
Log:
Patch from Andrew Kaylor andrew.kaylor at intel.com to have
Thread::ResetFrameZeroRegisters() clear the UnwindLLDB object when
resetting the thread's register state.

Modified:
    lldb/trunk/source/Target/Thread.cpp

Modified: lldb/trunk/source/Target/Thread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Thread.cpp?rev=167910&r1=167909&r2=167910&view=diff
==============================================================================
--- lldb/trunk/source/Target/Thread.cpp (original)
+++ lldb/trunk/source/Target/Thread.cpp Tue Nov 13 22:26:02 2012
@@ -1682,6 +1682,8 @@
         // Clear out all stack frames as our world just changed.
         ClearStackFrames();
         frame_sp->GetRegisterContext()->InvalidateIfNeeded(true);
+        if (m_unwinder_ap.get())
+            m_unwinder_ap->Clear();
 
         return ret;
     }





More information about the lldb-commits mailing list