diff options
author | Greg Clayton <gclayton@apple.com> | 2010-08-27 18:24:16 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-08-27 18:24:16 +0000 |
commit | 5082c5fdf6a628bb216f789eb24df42a76a2307b (patch) | |
tree | 9dbe08fefa6f015c1d747c0439df676b56883777 /lldb/source/Target/Thread.cpp | |
parent | 82d404c886d44f48ae1c6b480ceb7ddfba3aaf15 (diff) | |
download | bcm5719-llvm-5082c5fdf6a628bb216f789eb24df42a76a2307b.tar.gz bcm5719-llvm-5082c5fdf6a628bb216f789eb24df42a76a2307b.zip |
Simplified the StackFrameList class down to a single frames list again
instead of trying to maintain the real frame list (unwind frames) and an
inline frame list. The information is cheap to produce when we already have
looked up a block and was making stack frame uniquing difficult when trying
to use the previous stack when making the current stack.
We now maintain the previous value object lists for common frames between
a previous and current frames so we will be able to tell when variable values
change.
llvm-svn: 112277
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 |