diff options
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 73d2dbaa42e..5a1e1ddde88 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -813,7 +813,8 @@ Thread::GetStackFrameCount() void Thread::ClearStackFrames () { - m_prev_frames_ap = m_curr_frames_ap; + if (m_curr_frames_ap.get()) + m_prev_frames_ap = m_curr_frames_ap; } lldb::StackFrameSP |