Repository navigation
Conversation
Skip zero padding after the Windows names-section start sentinel. Include the raw header's bitmap padding when locating names and value-profile records during runtime merging. This fixes malformed fresh profiles and repeated-run value-profile crashes observed with Microsoft LINK on Windows Arm64. Add focused regression tests for both layouts. Backport for Rust's pinned LLVM 23.1 revision 08ec928. Upstream review: llvm#243923 Source commit: f25e7ef The upstream change is still under review; this branch is for Rust validation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Backport upstream follow-ups ad6bac1, c5954df, fb10568, a90bd3c, and 8244903 from llvm#243923. Include the profile-reader padding fix, expanded regressions, and reviewer-requested explanations without unrelated main-branch changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: de351b8f-e68b-49e6-84c2-858375889992
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft - Not for review
Backports llvm/llvm-project#243923 to
rustc/23.1-2026-07-22, including upstream follow-ups throughb341a0af0.Fixes Windows profile-name padding and bitmap-padding offsets during profile reading and runtime merging, needed to unblock Windows Arm Rust PGO. Includes the upstream regression tests; unrelated upstream changes are excluded.
Validation
AI assistance: GitHub Copilot assisted with backporting and validation.