[llvm] [memprof] Fix typos in serializedSizeV0 and serializedSizeV2 (PR #88629)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 15 09:26:56 PDT 2024
================
@@ -42,7 +42,7 @@ size_t IndexedAllocationInfo::serializedSize(IndexedVersion Version) const {
}
static size_t serializedSizeV0(const IndexedMemProfRecord &Record) {
- size_t Result = sizeof(GlobalValue::GUID);
+ size_t Result = sizeof(uint64_t);
----------------
teresajohnson wrote:
Can you add a comment here and in the V1 version for what this is reserving space for? E.g. similar to the comment further below on line 49.
https://github.com/llvm/llvm-project/pull/88629
More information about the llvm-commits
mailing list