[llvm-branch-commits] [llvm] [ThinLTO] Generate import status in per-module combined summary (PR #88024)

Jan Voung via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu May 9 11:23:56 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
----------------
jvoung wrote:

nit: update DecSummaries in comment

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


More information about the llvm-branch-commits mailing list