summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/StackFrame.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-08-27 18:24:16 +0000
committerGreg Clayton <gclayton@apple.com>2010-08-27 18:24:16 +0000
commit5082c5fdf6a628bb216f789eb24df42a76a2307b (patch)
tree9dbe08fefa6f015c1d747c0439df676b56883777 /lldb/source/Target/StackFrame.cpp
parent82d404c886d44f48ae1c6b480ceb7ddfba3aaf15 (diff)
downloadbcm5719-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/StackFrame.cpp')
-rw-r--r--lldb/source/Target/StackFrame.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/source/Target/StackFrame.cpp b/lldb/source/Target/StackFrame.cpp
index 9c9fe99d7df..972c19a2175 100644
--- a/lldb/source/Target/StackFrame.cpp
+++ b/lldb/source/Target/StackFrame.cpp
@@ -531,3 +531,11 @@ StackFrame::Dump (Stream *strm, bool show_frame_index)
m_sc.DumpStopContext(strm, &m_thread.GetProcess(), GetFrameCodeAddress(), show_module, show_inline);
}
+
+void
+StackFrame::SetSymbolContext (const SymbolContext& sc)
+{
+ m_sc = sc;
+ m_flags.Clear(eSymbolContextEverything);
+ m_flags.Set(m_sc.GetResolvedMask ());
+}
OpenPOWER on IntegriCloud