-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[RyuJIT Wasm] WasmObjectWriter Webcil Envelope Support #125468
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
Merged
adamperlin
merged 39 commits into
dotnet:main
from
adamperlin:adamperlin/wasm-object-writer-webcil
Mar 27, 2026
Merged
Changes from 23 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
42a21db
WIP: build webcil data segment
adamperlin 0481359
Merge branch 'main' of github.com:dotnet/runtime into adamperlin/wasm…
adamperlin d0519e6
WIP resolve relocs + emit webcil data segment
adamperlin 0e0f4e9
First pass at building up Webcil data segment and resolving relocations
adamperlin 33cb437
Fix several bugs in relocation resolution for Webcil sections
adamperlin 4ad2dc8
Resolve Cor header/debug directory symbols + size and place in webcil…
adamperlin 81ee517
Add some instructions to support Webcil header/size getters
adamperlin 95f991f
Add webcil payload/size getters to output module; fix some padding bu…
adamperlin 509c5f6
Add inter data segment padding support (needed for Webcil)
adamperlin f9ed9eb
Add WasmGlobal class and use to write globals section; export webcilV…
adamperlin ea3845c
Merge branch 'main' of github.com:dotnet/runtime into adamperlin/wasm…
adamperlin d4ed00b
Add Microsoft.NET.WebAssembly.Webcil.Validator program; various fixes
adamperlin 76b21d9
Properly override UpdateSectionAlignment() to set minimal alignment f…
adamperlin e1fe575
Remove Console.WriteLine's; Remove a bit of dead code; Clarify some c…
adamperlin 277ed87
Remove old fix for adding type signatures as dependencies MethodWithG…
adamperlin cd0696d
Feedback
adamperlin ccb8e4f
Apply suggestions from code review
adamperlin 781b9e4
Feedback: make PaddingHelper non static, and pre-allocate buffer of p…
adamperlin 351044e
Additional feedback
adamperlin aa4bc36
Potential fix for pull request finding
adamperlin fc510ce
Fix static field bug
adamperlin cc33f84
Merge branch 'adamperlin/wasm-object-writer-webcil' of github.com:ada…
adamperlin b3a1fa5
Small formatting/linting fixes
adamperlin 8ba6c94
Review feedback: Put Webcil under ReadyToRun ifdef in WasmObjectWrite…
adamperlin 71a3a84
Remove ilc webcil include
adamperlin ec88c5b
Refactor: Move webcil header/constant definitions to tools/Common/Was…
adamperlin d743659
Merge branch 'main' of github.com:dotnet/runtime into adamperlin/wasm…
adamperlin 95d2704
Switch some exceptions for asserts in WasmObjectWriter
adamperlin f2e4520
More feedback
adamperlin f212f8e
Remove validator program
adamperlin d796ca2
Potential fix for pull request finding
adamperlin 5518a27
Review feedback
adamperlin 379f7e9
Merge branch 'adamperlin/wasm-object-writer-webcil' of github.com:ada…
adamperlin f25e305
Merge branch 'main' of github.com:dotnet/runtime into adamperlin/wasm…
adamperlin acd3a69
Merge branch 'main' of github.com:dotnet/runtime into adamperlin/wasm…
adamperlin 9d1bec0
Merge branch 'main' of github.com:dotnet/runtime into adamperlin/wasm…
adamperlin 453110d
Fix faulty Debug.Assert, Relocation.ReadValue after merge
adamperlin 383b57c
Merge branch 'main' of github.com:dotnet/runtime into adamperlin/wasm…
adamperlin 21c9f99
Fix AssemblyStubNode and SymbolRangeNode placement
adamperlin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.