[llvm] [MemProf] Track and report profiled sizes through cloning (PR #98382)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 08:52:16 PDT 2024
================
@@ -4673,9 +4704,10 @@ void IndexBitcodeWriter::writeCombinedGlobalValueSummary() {
getReferencedTypeIds(FS, ReferencedTypeIds);
writeFunctionHeapProfileRecords(
- Stream, FS, CallsiteAbbrev, AllocAbbrev,
+ Stream, FS, CallsiteAbbrev, AllocAbbrev, AllocTotalSizeAbbrev,
/*PerModule*/ false,
- /*GetValueId*/ [&](const ValueInfo &VI) -> unsigned {
+ /*GetValueId*/
+ [&](const ValueInfo &VI) -> unsigned {
----------------
teresajohnson wrote:
Hmm, clang-format did that, I have manually reverted those changes.
https://github.com/llvm/llvm-project/pull/98382
More information about the llvm-commits
mailing list