From f02be230f6a0d7db81c78702a4651ab29a450a41 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Wed, 25 May 2016 20:38:33 +0000 Subject: Fix an issue where LLDB would crash if one tried to 'frame variable' an unordered_map more than once in a stop due to the synthetic provider not properly caching the ValueObjects it was returning for the child elements Fixes rdar://26470909 llvm-svn: 270752 --- .../data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/packages/Python') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py index 9abfa131fd1..4765cd70f67 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py @@ -72,5 +72,6 @@ class LibcxxUnorderedDataFormatterTestCase(TestBase): '(\[\d\] = "world"(\\n|.)+){2}']) def look_for_content_and_continue(self, var_name, patterns): + self.expect( ("frame variable %s" % var_name), patterns=patterns) self.expect( ("frame variable %s" % var_name), patterns=patterns) self.runCmd("continue") -- cgit v1.2.3