================ @@ -1670,11 +1798,15 @@ Expected<bool> FunctionImporter::importFunctions( if (!GV.hasName()) continue; auto GUID = GV.getGUID(); - auto Import = ImportGUIDs.count(GUID); - LLVM_DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing global " - << GUID << " " << GV.getName() << " from " - << SrcModule->getSourceFileName() << "\n"); - if (Import) { + auto ImportType = maybeGetImportType(ImportGUIDs, GUID); + if (!ImportType) ---------------- teresajohnson wrote:
Or do what I suggested above which goes back to only needing one LLVM_DEBUG https://github.com/llvm/llvm-project/pull/88024 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits