Skip to content

Conversation

radekdoulik
Copy link
Member

Fixes #120318

Account for this and retbuf arguments at the beginning of offset calculation

Add more call functions hit during EH

Account for this and retbuf arguments at the beginning

Add more call functions hit during EH

Fixes dotnet#120318
@radekdoulik radekdoulik added this to the 11.0.0 milestone Oct 10, 2025
@Copilot Copilot AI review requested due to automatic review settings October 10, 2025 21:25
@radekdoulik radekdoulik added arch-wasm WebAssembly architecture area-VM-coreclr labels Oct 10, 2025
@radekdoulik radekdoulik requested review from AaronRobinsonMSFT and jkotas and removed request for Copilot October 10, 2025 21:25
Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@radekdoulik radekdoulik merged commit 5bd2f68 into dotnet:main Oct 12, 2025
112 of 116 checks passed
@radekdoulik
Copy link
Member Author

I found one more issue here, I will fix it in the followup PR

radekdoulik added a commit to radekdoulik/runtime that referenced this pull request Oct 13, 2025
Fixes remaining issue mentioned in dotnet#120613

This fixes offset calculation of This and other special cased arguments.

Without that fix, we ended writing the this argument value to a wrong offset.
radekdoulik added a commit that referenced this pull request Oct 13, 2025
* [wasm][coreclr] Fix GetOffsetOfArgumentRegisters

Fixes remaining issue mentioned in #120613

This fixes offset calculation of This and other special cased arguments.

Without that fix, we ended writing the this argument value to a wrong offset.

* Update src/coreclr/vm/callingconvention.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
radekdoulik added a commit to radekdoulik/runtime that referenced this pull request Oct 14, 2025
Fixes remaining issue mentioned in dotnet#120613

This fixes offset calculation of This and other special cased arguments.

Without that fix, we ended writing the this argument value to a wrong offset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-wasm WebAssembly architecture area-VM-coreclr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wasm][coreclr] fix resources lookup

3 participants