diff options
Diffstat (limited to 'llvm/lib/LTO/ThinLTOCodeGenerator.cpp')
-rw-r--r-- | llvm/lib/LTO/ThinLTOCodeGenerator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp index d151de17896..5b27cdbfef3 100644 --- a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp +++ b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp @@ -580,6 +580,7 @@ std::unique_ptr<ModuleSummaryIndex> ThinLTOCodeGenerator::linkCombinedIndex() { return CombinedIndex; } +namespace { struct IsExported { const StringMap<FunctionImporter::ExportSetTy> &ExportLists; const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols; @@ -610,6 +611,7 @@ struct IsPrevailing { return Prevailing->second == S; }; }; +}; // namespace static void computeDeadSymbolsInIndex( ModuleSummaryIndex &Index, |