[Lldb-commits] [lldb] r186362 - Disabling the introspecting summary for __NSCFSet (essentially, for CF*SetRef)

Enrico Granata egranata at apple.com
Mon Jul 15 16:17:33 PDT 2013


Author: enrico
Date: Mon Jul 15 18:17:32 2013
New Revision: 186362

URL: http://llvm.org/viewvc/llvm-project?rev=186362&view=rev
Log:
Disabling the introspecting summary for __NSCFSet (essentially, for CF*SetRef)

Modified:
    lldb/trunk/source/DataFormatters/NSSet.cpp

Modified: lldb/trunk/source/DataFormatters/NSSet.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/NSSet.cpp?rev=186362&r1=186361&r2=186362&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/NSSet.cpp (original)
+++ lldb/trunk/source/DataFormatters/NSSet.cpp Mon Jul 15 18:17:32 2013
@@ -74,7 +74,7 @@ lldb_private::formatters::NSSetSummaryPr
             return false;
         value &= (is_64bit ? ~0xFC00000000000000UL : ~0xFC000000U);
     }
-    else if (!strcmp(class_name,"__NSCFSet"))
+    /*else if (!strcmp(class_name,"__NSCFSet"))
     {
         Error error;
         value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + (is_64bit ? 20 : 12), 4, 0, error);
@@ -83,7 +83,7 @@ lldb_private::formatters::NSSetSummaryPr
         if (is_64bit)
             value &= ~0x1fff000000000000UL;
     }
-    /*else if (!strcmp(class_name,"NSCountedSet"))
+    else if (!strcmp(class_name,"NSCountedSet"))
     {
         Error error;
         value = process_sp->ReadUnsignedIntegerFromMemory(valobj_addr + ptr_size, ptr_size, 0, error);





More information about the lldb-commits mailing list