diff options
author | Enrico Granata <egranata@apple.com> | 2012-03-30 00:51:12 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-03-30 00:51:12 +0000 |
commit | a7daeebbff01745941f70cc3e5ab99034f1e4abf (patch) | |
tree | b766797a97bf4da2b316ac07be158f0f35dade39 /lldb/examples/summaries/cocoa/NSSet.py | |
parent | afe7ec707005101f585136de9cf374b28720a94b (diff) | |
download | bcm5719-llvm-a7daeebbff01745941f70cc3e5ab99034f1e4abf.tar.gz bcm5719-llvm-a7daeebbff01745941f70cc3e5ab99034f1e4abf.zip |
Fixing a whole class of crashers and potential crashers related to data formatters eating up all the stack when an unknown class has to be summarized ; this should make the whole Objective-C summaries more stable
llvm-svn: 153712
Diffstat (limited to 'lldb/examples/summaries/cocoa/NSSet.py')
-rw-r--r-- | lldb/examples/summaries/cocoa/NSSet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/summaries/cocoa/NSSet.py b/lldb/examples/summaries/cocoa/NSSet.py index 567e35e7431..57259c67a0b 100644 --- a/lldb/examples/summaries/cocoa/NSSet.py +++ b/lldb/examples/summaries/cocoa/NSSet.py @@ -186,7 +186,7 @@ def GetSummary_Impl(valobj): statistics.metric_hit('code_notrun',valobj) else: wrapper = NSSetUnknown_SummaryProvider(valobj, class_data.sys_params) - statistics.metric_hit('unknown_class',str(valobj) + " seen as " + name_string) + statistics.metric_hit('unknown_class',valobj.GetName() + " seen as " + name_string) return wrapper; |