We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c047bc9 + 08a2a45 commit ec3ee55Copy full SHA for ec3ee55
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -2009,6 +2009,11 @@ AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::UpdateISAToDescriptorMap() {
2009
const uint32_t num_classes = 128 * 1024;
2010
2011
UtilityFunction *get_class_info_code = GetClassInfoUtilityFunction(exe_ctx);
2012
+ if (!get_class_info_code) {
2013
+ // The callee will have already logged a useful error message.
2014
+ return DescriptorMapUpdateResult::Fail();
2015
+ }
2016
+
2017
FunctionCaller *get_shared_cache_class_info_function =
2018
get_class_info_code->GetFunctionCaller();
2019
0 commit comments