[Lldb-commits] [lldb] r277897 - The lack of classes in the hash table is not an error - it's very legitimately possible for a process to define no ObjC classes of its own. Discovered by debugging /bin/ls

Enrico Granata via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 5 17:57:08 PDT 2016


Author: enrico
Date: Fri Aug  5 19:57:07 2016
New Revision: 277897

URL: http://llvm.org/viewvc/llvm-project?rev=277897&view=rev
Log:
The lack of classes in the hash table is not an error - it's very legitimately possible for a process to define no ObjC classes of its own. Discovered by debugging /bin/ls

Modified:
    lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp

Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp?rev=277897&r1=277896&r2=277897&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp Fri Aug  5 19:57:07 2016
@@ -1389,7 +1389,7 @@ AppleObjCRuntimeV2::UpdateISAToDescripto
     {
         if (log)
             log->Printf ("No dynamic classes found in gdb_objc_realized_classes.");
-        return DescriptorMapUpdateResult::Fail();
+        return DescriptorMapUpdateResult::Success(0);
     }
     
     // Make some types for our arguments




More information about the lldb-commits mailing list