[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


================
@@ -833,9 +833,14 @@ void ThinLTOCodeGenerator::emitImports(Module &TheModule, StringRef OutputName,
                            ExportLists);
 
   std::map<std::string, GVSummaryMapTy> ModuleToSummariesForIndex;
+  // 'EmitImportsFiles' emits the list of modules from which to import from, and
+  // the set of keys in `ModuleToSummariesForIndex` should be a superset of keys
+  // in `ModuleToDecSummaries`, so no need to use `ModuleToDecSummaries` in
----------------
minglotus-6 wrote:

As noted in the other two comments I'll do this in the next patch.

https://github.com/llvm/llvm-project/pull/88024


More information about the llvm-commits mailing list