https://github.com/jvoung commented:
Nice!
https://github.com/llvm/llvm-project/pull/87600
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -48,20 +48,20 @@
; First disassemble per-module summary and find out the GUID for {large_func,
large_indirect_callee}.
;
; RUN: llvm-dis lib.bc -o - | FileCheck %s --check-prefix=LIB-DIS
+; LIB-DIS: [[LIBMOD:\^[0-9]+]] = module: (path: "lib.bc", hash: (0, 0, 0, 0,
0))
; L
@@ -1399,18 +1399,21 @@ class lto::ThinBackendProc {
llvm::StringRef ModulePath,
const std::string &NewModulePath) {
std::map ModuleToSummariesForIndex;
+GVSummaryPtrSet DeclarationSummaries;
std::error_code EC;
gatherImpo
https://github.com/jvoung edited https://github.com/llvm/llvm-project/pull/87600
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -216,7 +216,8 @@ void gatherImportedSummariesForModule(
StringRef ModulePath,
const DenseMap &ModuleToDefinedGVSummaries,
const FunctionImporter::ImportMapTy &ImportList,
-std::map &ModuleToSummariesForIndex);
+std::map &ModuleToSummariesForIndex,
+GV
@@ -207,11 +211,16 @@ bool convertToDeclaration(GlobalValue &GV);
/// \p ModuleToSummariesForIndex will be populated with the needed summaries
/// from each required module path. Use a std::map instead of StringMap to get
/// stable order for bitcode emission.
+///
+/// \p Modu
@@ -833,9 +833,14 @@ void ThinLTOCodeGenerator::emitImports(Module &TheModule,
StringRef OutputName,
ExportLists);
std::map ModuleToSummariesForIndex;
+ // 'EmitImportsFiles' emits the list of modules from which to import from,
and
+ // the set
@@ -276,7 +276,7 @@ class ThinLTOCodeGenerator {
void gatherImportedSummariesForModule(
Module &Module, ModuleSummaryIndex &Index,
std::map &ModuleToSummariesForIndex,
- const lto::InputFile &File);
+ const lto::InputFile &File, GVSummaryPtrSet &DecSumma