diff options
| author | Greg Clayton <gclayton@apple.com> | 2010-08-27 21:47:54 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2010-08-27 21:47:54 +0000 |
| commit | 68275d5e56e7c89b18e7f8da2dbfb529b6ced5b6 (patch) | |
| tree | 927762ba27c3a95cc811c61758b5055bc7eaf18c /lldb/source/Core | |
| parent | af371b49a8c65bd44223682fd5ee3c669e885fed (diff) | |
| download | bcm5719-llvm-68275d5e56e7c89b18e7f8da2dbfb529b6ced5b6.tar.gz bcm5719-llvm-68275d5e56e7c89b18e7f8da2dbfb529b6ced5b6.zip | |
Made it so we update the current frames from the previous frames by doing STL
swaps on the variable list, value object list, and disassembly. This avoids
us having to try and update frame indexes and other things that were getting
out of sync.
llvm-svn: 112301
Diffstat (limited to 'lldb/source/Core')
| -rw-r--r-- | lldb/source/Core/ValueObjectList.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Core/ValueObjectList.cpp b/lldb/source/Core/ValueObjectList.cpp index 50ae1de0985..5feeae7309a 100644 --- a/lldb/source/Core/ValueObjectList.cpp +++ b/lldb/source/Core/ValueObjectList.cpp @@ -117,3 +117,9 @@ ValueObjectList::FindValueObjectByPointer (ValueObject *valobj) } return valobj_sp; } + +void +ValueObjectList::Swap (ValueObjectList &value_object_list) +{ + m_value_objects.swap (value_object_list.m_value_objects); +} |

