diff options
author | Jim Ingham <jingham@apple.com> | 2012-10-30 17:44:49 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-10-30 17:44:49 +0000 |
commit | 3b1c97aa74c6bf91fcdf007708586f9bbf3c711f (patch) | |
tree | f5c144d13d00e0f0ec77bb9d143b395ad6048044 /lldb/source/Plugins/Process/POSIX/POSIXThread.cpp | |
parent | 83a77c328884e0be77340a05a8479607fe863d70 (diff) | |
download | bcm5719-llvm-3b1c97aa74c6bf91fcdf007708586f9bbf3c711f.tar.gz bcm5719-llvm-3b1c97aa74c6bf91fcdf007708586f9bbf3c711f.zip |
Patch from Matt Kopec <matt.kopec@intel.com> to handle stepping into multiply-nested inlined code.
llvm-svn: 167028
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX/POSIXThread.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/POSIX/POSIXThread.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp index 2ab1c757270..0fbb5f309c4 100644 --- a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp +++ b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp @@ -146,11 +146,14 @@ POSIXThread::WillResume(lldb::StateType resume_state) { 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 |