[llvm] [SampleFDO][TypeProf]Support vtable type profiling for ext-binary and text format (PR #148002)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 18 10:10:59 PDT 2025
================
@@ -318,16 +324,28 @@ struct LineLocationHash {
LLVM_ABI raw_ostream &operator<<(raw_ostream &OS, const LineLocation &Loc);
+/// Key represents the id of a vtable and value represents its count.
+/// TODO: Rename class FunctionId to SymbolId in a separate PR.
+using TypeCountMap = std::map<FunctionId, uint64_t>;
----------------
mingmingl-llvm wrote:
done.
https://github.com/llvm/llvm-project/pull/148002
More information about the llvm-commits
mailing list