[llvm] [memprof] Speed up caller-callee pair extraction (PR #116184)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 13:00:12 PST 2024
================
@@ -771,15 +773,26 @@ static Error writeMemProfV3(ProfOStream &OS,
writeMemProfFrameArray(OS, MemProfData.Frames, FrameHistogram);
uint64_t CallStackPayloadOffset = OS.tell();
+ // The number of elements in the call stack array.
+ unsigned NumElements;
----------------
kazutakahirata wrote:
Fixed in the latest revision. Thanks!
https://github.com/llvm/llvm-project/pull/116184
More information about the llvm-commits
mailing list