diff options
author | Enrico Granata <egranata@apple.com> | 2012-03-13 00:25:59 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-03-13 00:25:59 +0000 |
commit | 8c69c96dc99d91cc5a391ad026f46a30b062fbed (patch) | |
tree | fdfc56105cb45f11f20fc2cf95963494c7bd39a8 /lldb/examples/summaries/cocoa/NSException.py | |
parent | b1e8a53e0b65ea6ebd11620ff6d91bdf9ec5a1cb (diff) | |
download | bcm5719-llvm-8c69c96dc99d91cc5a391ad026f46a30b062fbed.tar.gz bcm5719-llvm-8c69c96dc99d91cc5a391ad026f46a30b062fbed.zip |
Changed several of the Cocoa formatters to match the output style that Xcode uses internally to provide summaries
This has been done for those summaries where the difference is only cosmetic (e.g. naming things as items instead of values, ...)
The LLDB output style has been preserved when it provides more information (e.g. telling the type as well as the value of an NSNumber)
Test cases have been updated to reflect the updated output style where necessary
llvm-svn: 152592
Diffstat (limited to 'lldb/examples/summaries/cocoa/NSException.py')
-rw-r--r-- | lldb/examples/summaries/cocoa/NSException.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/summaries/cocoa/NSException.py b/lldb/examples/summaries/cocoa/NSException.py index 3a09198f84c..0d2d9a71f00 100644 --- a/lldb/examples/summaries/cocoa/NSException.py +++ b/lldb/examples/summaries/cocoa/NSException.py @@ -36,7 +36,7 @@ class NSKnownException_SummaryProvider: reason_ptr = self.valobj.CreateChildAtOffset("reason", self.offset_reason(), self.sys_params.types_cache.id) - return CFString.CFString_SummaryProvider(name_ptr,None) + " " + CFString.CFString_SummaryProvider(reason_ptr,None) + return 'name:' + CFString.CFString_SummaryProvider(name_ptr,None) + ' reason:' + CFString.CFString_SummaryProvider(reason_ptr,None) class NSUnknownException_SummaryProvider: def adjust_for_architecture(self): |