[llvm] [ThinLTO] Populate declaration import status except for distributed ThinLTO (PR #88024)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Fri May 10 17:10:12 PDT 2024
================
@@ -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)
----------------
minglotus-6 wrote:
done.
https://github.com/llvm/llvm-project/pull/88024
More information about the llvm-commits
mailing list