[Lldb-commits] [lldb] r231514 - Remember to set m_loaded_objc_opt once you've loaded the ObjC data

Jim Ingham jingham at apple.com
Fri Mar 6 12:57:18 PST 2015


Author: jingham
Date: Fri Mar  6 14:57:17 2015
New Revision: 231514

URL: http://llvm.org/viewvc/llvm-project?rev=231514&view=rev
Log:
Remember to set m_loaded_objc_opt once you've loaded the ObjC data
from the shared cache so you don't update it over & over.

<rdar://problem/20074768>

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=231514&r1=231513&r2=231514&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp Fri Mar  6 14:57:17 2015
@@ -1560,6 +1560,8 @@ AppleObjCRuntimeV2::UpdateISAToDescripto
             DescriptorMapUpdateResult shared_cache_update_result = UpdateISAToDescriptorMapSharedCache();
             if (!shared_cache_update_result.any_found)
                 WarnIfNoClassesCached ();
+            else
+                m_loaded_objc_opt = true;
         }
         
     }





More information about the lldb-commits mailing list