Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[memprof] Fix typos in serializedSizeV0 and serializedSizeV2 #88629

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

kazutakahirata
Copy link
Contributor

The first field to serialize is the size of
IndexedMemProfRecord::AllocSites. It has nothing to do with
GlobalValue::GUID. This happens to work because of:

using GUID = uint64_t;

The first field to serialize is the size of
IndexedMemProfRecord::AllocSites.  It has nothing to do with
GlobalValue::GUID.  This happens to work because of:

  using GUID = uint64_t;
@kazutakahirata kazutakahirata merged commit e09245b into llvm:main Apr 15, 2024
3 of 4 checks passed
@kazutakahirata kazutakahirata deleted the pr_memprof_serializedSize branch April 15, 2024 17:01
aniplcc pushed a commit to aniplcc/llvm-project that referenced this pull request Apr 15, 2024
)

The first field to serialize is the size of
IndexedMemProfRecord::AllocSites.  It has nothing to do with
GlobalValue::GUID.  This happens to work because of:

  using GUID = uint64_t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants