-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[mono][arm64] Fix SeqPointInfo allocation #118542
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
Conversation
bp_addrs now needs to contain a pointer slot for every single byte in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a memory allocation bug in the Mono ARM64 runtime's sequence point handling that was introduced by a recent regression. The issue was in the calculation of buffer size for storing breakpoint addresses.
Key Changes:
- Fixed SeqPointInfo allocation size calculation to allocate space for every byte in the code rather than every 4 bytes
Tagging subscribers to this area: @thaystg, @dotnet/dotnet-diag |
I will add the change in the backport PR. |
/ba-g known failures. |
…118459) * Fix assertion when stepping * Backport of #118542 --------- Co-authored-by: Thays Grazia <[email protected]>
bp_addrs
now needs to contain a pointer slot for every single byte in the code.Regressed after #118458
Fixes #118519