diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2019-10-24 10:43:37 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2019-10-24 10:48:43 +0200 |
commit | bfa3f0c316655d0140abb4e90f82242a7c2b4ea4 (patch) | |
tree | daddf6324d94420426cf3a5d49b4b9277526afc9 /llvm/lib/LTO/ThinLTOCodeGenerator.cpp | |
parent | 13fc899cdecc85c944fc5b516a2bdfdd2f5f5903 (diff) | |
download | bcm5719-llvm-bfa3f0c316655d0140abb4e90f82242a7c2b4ea4.tar.gz bcm5719-llvm-bfa3f0c316655d0140abb4e90f82242a7c2b4ea4.zip |
Hide implementation details in anonymous namespaces. NFC.
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, |