From ed1d079377c4ff047e66643d9aa75006b8e7394d Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 6 Mar 2015 20:57:17 +0000 Subject: [PATCH] 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. llvm-svn: 231514 --- .../LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp index cb1379e..e6dd4da 100644 --- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -1560,6 +1560,8 @@ AppleObjCRuntimeV2::UpdateISAToDescriptorMapIfNeeded() DescriptorMapUpdateResult shared_cache_update_result = UpdateISAToDescriptorMapSharedCache(); if (!shared_cache_update_result.any_found) WarnIfNoClassesCached (); + else + m_loaded_objc_opt = true; } } -- 2.7.4