[llvm] [ThinLTO] Use a set rather than a map to track exported ValueInfos. (PR #97360)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 22:20:34 PDT 2024
================
@@ -998,14 +995,29 @@ static bool isGlobalVarSummary(const ModuleSummaryIndex &Index,
return false;
}
-template <class T>
-static unsigned numGlobalVarSummaries(const ModuleSummaryIndex &Index, T &Cont,
+static unsigned numGlobalVarSummaries(const ModuleSummaryIndex &Index,
----------------
minglotus-6 wrote:
done. Given export containers doesn't track def or decl, I took the liberty to update this function so it counts the total number of imported or exported global variables but doesn't break down by def or decl.
https://github.com/llvm/llvm-project/pull/97360
More information about the llvm-commits
mailing list