Repository navigation
bring wasm R2R abi up to date - #130648
Merged
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
Member
Author
|
@adamperlin PTAL |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates clr-abi.md to document the current CoreCLR WebAssembly ReadyToRun ABI behavior, expanding the existing WASM ABI section with details around portable entrypoints, signature lowering, stack frame layout/unwinding, and interpreter transition thunks.
Changes:
- Updates the portable entrypoints section to describe Wasm R2R + interpreter usage and the meaning of the first
PortableEntryPointfield. - Adjusts WASM type lowering docs (notably empty structs) and expands the outbound-call ABI description to include
pep_ptrand_pActualCodeusage. - Adds a detailed “R2R stack frame layout” section including a stack-walking pseudocode sketch and updated interpreter stub descriptions.
adamperlin
reviewed
Jul 13, 2026
adamperlin
reviewed
Jul 13, 2026
adamperlin
reviewed
Jul 13, 2026
adamperlin
reviewed
Jul 13, 2026
adamperlin
left a comment
Contributor
There was a problem hiding this comment.
Just a few small suggestions
Co-authored-by: Copilot <[email protected]>
lewing
approved these changes
Jul 13, 2026
adamperlin
approved these changes
Jul 13, 2026
Member
Author
|
(ignoring bot feedback about 32 vs 64 bit for now) |
This was referenced Jul 15, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Updates clr-abi.md to reflect the current CoreCLR Wasm ReadyToRun ABI implementation, including portable-entrypoint calls, R2R/interpreter transitions, frame layout, funclets, localloc unwinding, and stack-walking pseudocode.
Note
This PR description was generated by GitHub Copilot.