[Lldb-commits] [lldb] r167028 - /lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp

Jim Ingham jingham at apple.com
Tue Oct 30 10:44:49 PDT 2012


Author: jingham
Date: Tue Oct 30 12:44:49 2012
New Revision: 167028

URL: http://llvm.org/viewvc/llvm-project?rev=167028&view=rev
Log:
Patch from Matt Kopec <matt.kopec at intel.com> to handle stepping into multiply-nested inlined code.

Modified:
    lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp

Modified: lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp?rev=167028&r1=167027&r2=167028&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp Tue Oct 30 12:44:49 2012
@@ -146,11 +146,14 @@
 {
     SetResumeState(resume_state);
 
-    ClearStackFrames();
+    if (!Thread::WillResume(resume_state))
+        return false;
+
     if (m_unwinder_ap.get())
         m_unwinder_ap->Clear();
+    Thread::ClearStackFrames();
 
-    return Thread::WillResume(resume_state);
+    return true;
 }
 
 bool





More information about the lldb-commits mailing list