diff options
author | Enrico Granata <granata.enrico@gmail.com> | 2011-08-03 02:18:51 +0000 |
---|---|---|
committer | Enrico Granata <granata.enrico@gmail.com> | 2011-08-03 02:18:51 +0000 |
commit | 9910bc855d55b4958182321cfc81140346aa2e9f (patch) | |
tree | b1580154477ba572aee2e9b1ed49954c408c9ffb /lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py | |
parent | 59546b8f79bd020362c4478628111c0beb0b1dc0 (diff) | |
download | bcm5719-llvm-9910bc855d55b4958182321cfc81140346aa2e9f.tar.gz bcm5719-llvm-9910bc855d55b4958182321cfc81140346aa2e9f.zip |
Fixed an issue where the KVO swizzled type would be returned as the dynamic type instead of the actual user-level type
- see the test case in lang/objc/objc-dynamic-value for an example
Objective-C dynamic type lookup now works for every Objective-C type
- previously, true dynamic lookup was only performed for type id
llvm-svn: 136763
Diffstat (limited to 'lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py')
-rw-r--r-- | lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py index 31a64a439e8..70994d41a2a 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py @@ -226,9 +226,12 @@ class DataFormatterTestCase(TestBase): substrs = ['Process Name: a.out Process Id:']) self.expect('frame variable dyn_test', matching=False, substrs = ['Process Name: a.out Process Id:']) - self.expect('frame variable dyn_test -d run-target', + self.expect('frame variable dyn_test -d run-target -T', substrs = ['(id, dynamic type:', 'Process Name: a.out Process Id:']) + self.expect('frame variable dyn_test -d run-target', + substrs = ['(id)', + 'Process Name: a.out Process Id:']) # check that we can format stuff out of the expression parser |