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/NSIndexSet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/examples/summaries/cocoa/NSIndexSet.py') diff --git a/lldb/examples/summaries/cocoa/NSIndexSet.py b/lldb/examples/summaries/cocoa/NSIndexSet.py index 18e683495e2..8a6116f05db 100644 --- a/lldb/examples/summaries/cocoa/NSIndexSet.py +++ b/lldb/examples/summaries/cocoa/NSIndexSet.py @@ -103,7 +103,7 @@ def GetSummary_Impl(valobj): statistics.metric_hit('code_notrun',valobj) else: wrapper = NSIndexSetUnknown_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