From a7daeebbff01745941f70cc3e5ab99034f1e4abf Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 30 Mar 2012 00:51:12 +0000 Subject: 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 --- lldb/examples/summaries/cocoa/NSSet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/examples/summaries/cocoa/NSSet.py') 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; -- cgit v1.2.3