[Lldb-commits] [lldb] r262260 - Fix a typo in my previous commit. This would cause mutable NSArrays to show up empty

Enrico Granata via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 29 13:41:19 PST 2016


Author: enrico
Date: Mon Feb 29 15:41:19 2016
New Revision: 262260

URL: http://llvm.org/viewvc/llvm-project?rev=262260&view=rev
Log:
Fix a typo in my previous commit. This would cause mutable NSArrays to show up empty

Modified:
    lldb/trunk/source/Plugins/Language/ObjC/NSArray.cpp

Modified: lldb/trunk/source/Plugins/Language/ObjC/NSArray.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Language/ObjC/NSArray.cpp?rev=262260&r1=262259&r2=262260&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Language/ObjC/NSArray.cpp (original)
+++ lldb/trunk/source/Plugins/Language/ObjC/NSArray.cpp Mon Feb 29 15:41:19 2016
@@ -788,7 +788,7 @@ SyntheticChildrenFrontEnd* lldb_private:
     {
         return (new NSArrayISyntheticFrontEnd(valobj_sp));
     }
-    else if (class_name == g_NSArrayM)
+    else if (class_name == g_NSArray0)
     {
         return (new NSArray0SyntheticFrontEnd(valobj_sp));
     }




More information about the lldb-commits mailing list