From fc7a7f3b75f988b628672a4cb50cbdc8be9405bf Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 8 Jul 2011 02:51:01 +0000 Subject: final fix for the global constructors issue new GetValueForExpressionPath() method in ValueObject to navigate expression paths in a more bitfield vs slices aware way changes to the varformats.html document (WIP) llvm-svn: 134679 --- .../data-formatter/data-formatter-cpp/TestDataFormatterCpp.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py') diff --git a/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py b/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py index 9f7e00ed905..68eab1897bd 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py @@ -99,6 +99,12 @@ class DataFormatterTestCase(TestBase): self.expect("frame variable iAmSomewhere", substrs = ['y=0x']) + + self.runCmd("type summary add -f \"y=${var.y},x=${var.x}\" Point") + + self.expect("frame variable iAmSomewhere", + substrs = ['y=6', + 'x=4']) self.runCmd("type summary add -f \"hello\" Point -e") -- cgit v1.2.3