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.
1 parent cdbce45 commit 895f7daCopy full SHA for 895f7da
lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.cpp
@@ -921,8 +921,14 @@ bool SwiftLanguageRuntimeImpl::AddModuleToReflectionContext(
921
likely_module_names);
922
}
923
924
- if (info_id)
925
- if (auto *swift_metadata_cache = GetSwiftMetadataCache())
+ if (!info_id) {
+ LLDB_LOG(GetLog(LLDBLog::Types),
926
+ "Error while loading reflection metadata in \"{0}\"",
927
+ module_sp->GetObjectName());
928
+ return false;
929
+ }
930
+
931
+ if (auto *swift_metadata_cache = GetSwiftMetadataCache())
932
swift_metadata_cache->registerModuleWithReflectionInfoID(module_sp,
933
*info_id);
934
0 commit comments