Skip to content

Commit 851df3b

Browse files
Merge pull request #3297 from adrian-prantl/82305887-rebranch
Remove outdated and misleading log message.
2 parents dd8917a + 3ec3d24 commit 851df3b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,17 +1673,6 @@ lldb::TypeSystemSP SwiftASTContext::CreateInstance(lldb::LanguageType language,
16731673
return {};
16741674
}
16751675

1676-
lldb::CompUnitSP main_compile_unit_sp = module.GetCompileUnitAtIndex(0);
1677-
1678-
if (lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_TYPES) &&
1679-
main_compile_unit_sp &&
1680-
!FileSystem::Instance().Exists(main_compile_unit_sp->GetPrimaryFile())) {
1681-
LOG_PRINTF(LIBLLDB_LOG_TYPES,
1682-
"Corresponding source not found for %s, loading module "
1683-
"is unlikely to succeed",
1684-
main_compile_unit_sp->GetPrimaryFile().GetCString());
1685-
}
1686-
16871676
llvm::Triple triple = GetSwiftFriendlyTriple(arch.GetTriple());
16881677
if (triple.getOS() == llvm::Triple::UnknownOS) {
16891678
// cl_kernels are the only binaries that don't have an

0 commit comments

Comments
 (0)