Compute the list of summaries and the subset of declaration summaries needed for importing into module.
Declared in <llvm/LTO/legacy/ThinLTOCodeGenerator.h>
void
gatherImportedSummariesForModule(
Module& Module,
ModuleSummaryIndex& Index,
ModuleToSummariesForIndexTy& ModuleToSummariesForIndex,
GVSummaryPtrSet& DecSummaries,
lto::InputFile const& File);
| Name | Description |
|---|---|
| Module | Module that will import from others. |
| Index | Combined module summary index. |
| ModuleToSummariesForIndex | Map filled with summaries needed for import. |
| DecSummaries | Set filled with declaration summaries needed for import. |
| File | Input file corresponding to Module. |