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> llvm-svn: 231514
This commit is contained in:
parent
dba8012f69
commit
ed1d079377
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue