summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-07-28 20:19:45 +0000
committerEnrico Granata <egranata@apple.com>2015-07-28 20:19:45 +0000
commit8eb9c3068c1808e03faf55d8d080e44451d00ed5 (patch)
treec5b7ec0f1643e6e670d35a093622ba7e29359485 /lldb/source
parent80d13bac02b35b5b014e4c921f943a61715b0869 (diff)
downloadbcm5719-llvm-8eb9c3068c1808e03faf55d8d080e44451d00ed5.tar.gz
bcm5719-llvm-8eb9c3068c1808e03faf55d8d080e44451d00ed5.zip
Fix a bug where the std::list synthetic child provider would not clean its cache correctly on update, causing stale children to be returned in some circumstances
Fixes rdar://20560680 llvm-svn: 243472
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/DataFormatters/LibCxxList.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/DataFormatters/LibCxxList.cpp b/lldb/source/DataFormatters/LibCxxList.cpp
index f3e07fe7a01..17e460d0f93 100644
--- a/lldb/source/DataFormatters/LibCxxList.cpp
+++ b/lldb/source/DataFormatters/LibCxxList.cpp
@@ -312,6 +312,7 @@ lldb_private::formatters::LibcxxStdListSyntheticFrontEnd::GetChildAtIndex (size_
bool
lldb_private::formatters::LibcxxStdListSyntheticFrontEnd::Update()
{
+ m_children.clear();
m_head = m_tail = NULL;
m_node_address = 0;
m_count = UINT32_MAX;
OpenPOWER on IntegriCloud