summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-08-30 18:11:35 +0000
committerGreg Clayton <gclayton@apple.com>2010-08-30 18:11:35 +0000
commit59e8fc1c7404de213591bc416bb7800539bfc575 (patch)
treeece73e90414bf24f5f03a292aaa6bd7777b5fa5e /lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
parente2f8bdac14c92de971852eb41dd0f70d202953f4 (diff)
downloadbcm5719-llvm-59e8fc1c7404de213591bc416bb7800539bfc575.tar.gz
bcm5719-llvm-59e8fc1c7404de213591bc416bb7800539bfc575.zip
Clarified the intent of the SymbolContextScope class in the header
documentation. Symbol now inherits from the symbol context scope so that the StackID can use a "SymbolContextScope *" instead of a blockID (which could have been the same as some other blockID from another symbol file). Modified the stacks that are created on subsequent stops to reuse the previous stack frame objects which will allow for some internal optimization using pointer comparisons during stepping. llvm-svn: 112495
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp b/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
index 4ef6338bb37..f620b07835e 100644
--- a/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
+++ b/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
@@ -66,7 +66,7 @@ UnwindMacOSXFrameBackchain::GetFrameInfoAtIndex (uint32_t idx, addr_t& cfa, addr
RegisterContext *
UnwindMacOSXFrameBackchain::CreateRegisterContextForFrame (StackFrame *frame)
{
- uint32_t idx = frame->GetConcreteFrameIndex ();
+ uint32_t idx = frame->GetUnwindFrameIndex ();
const uint32_t frame_count = GetFrameCount();
if (idx < frame_count)
return new RegisterContextMacOSXFrameBackchain (m_thread, frame, m_cursors[idx]);
OpenPOWER on IntegriCloud