[llvm-branch-commits] [llvm] [ThinLTO][Bitcode] Generate import type in bitcode (PR #87600)

Jan Voung via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed May 15 12:51:02 PDT 2024


================
@@ -1399,18 +1399,21 @@ class lto::ThinBackendProc {
                   llvm::StringRef ModulePath,
                   const std::string &NewModulePath) {
     std::map<std::string, GVSummaryMapTy> ModuleToSummariesForIndex;
+    GVSummaryPtrSet DeclarationSummaries;
 
     std::error_code EC;
     gatherImportedSummariesForModule(ModulePath, ModuleToDefinedGVSummaries,
-                                     ImportList, ModuleToSummariesForIndex);
+                                     ImportList, ModuleToSummariesForIndex,
+                                     DeclarationSummaries);
 
     raw_fd_ostream OS(NewModulePath + ".thinlto.bc", EC,
                       sys::fs::OpenFlags::OF_None);
     if (EC)
       return errorCodeToError(EC);
 
     // TODO: Serialize declaration bits to bitcode.
----------------
jvoung wrote:

Can the TODO be removed?

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


More information about the llvm-branch-commits mailing list