-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[Mono] Fix all the issues related to enabling WasmStripILAfterAOT #90436
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
fanyang-mono
merged 79 commits into
dotnet:main
from
fanyang-mono:enable_il_trim_wasm_always
Nov 13, 2023
+475
−184
Merged
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
68dd32a
Enable IL trim for WASM by default
fanyang-mono 7507121
Make ILStrip available for local build
fanyang-mono b02a8e5
Make all calling another method go through the logic to see if it cou…
fanyang-mono 1f7b587
Add back accidentally removed line of code
fanyang-mono 83cd21e
Update test to accommodate IL trim with WASM AOT
fanyang-mono 1f2f152
Move jit_call_can_be_supported to mini-runtime, so it doesn't depends…
fanyang-mono d9027dd
Update var name
fanyang-mono 481db67
Attempt to fix rebuild test failures
fanyang-mono aee3e0c
Attempt to fix the file open issue with unicode on windows
fanyang-mono ce6e2c0
Attempt to fix unicode issue #2
fanyang-mono b44c803
Enable g_fopen to have the capability of handling opening files with …
fanyang-mono 159e7a1
Add comment
fanyang-mono dccc8bb
Update comment
fanyang-mono 6ff2c63
Fix file indentation format
fanyang-mono ab352d4
Check if string contains non-ascii char
fanyang-mono ed07899
Remove unused callback
fanyang-mono 98ad004
Remove redundant comment
fanyang-mono 91edfdd
Update method name
fanyang-mono 561dd40
Fixed some method not found issues and remove the optimization for g_…
fanyang-mono 43aa032
Fix tailcall
fanyang-mono a4d901f
Disable tailcall optimization when calling a trimmed method
fanyang-mono a6f5bc2
Free method header
fanyang-mono b964fc4
Fix windows build error
fanyang-mono 488676a
Free method header at the correct locatioin
fanyang-mono b3b03f5
Fix the condition of skipping tailcall
fanyang-mono e22b851
Fix test failure
fanyang-mono 9964c82
Move JIT/AOT call invoke away from MINT_CALL, as it is not needed there.
fanyang-mono 9bdceb1
Fix virtual tail call
fanyang-mono bf31655
Merge remote-tracking branch 'origin/main' into enable_il_trim_wasm_a…
fanyang-mono 92773d3
Merge branch 'main' into enable_il_trim_wasm_always
fanyang-mono a6fa8c6
Address review feedback
fanyang-mono 97ee332
Merge branch 'main' into enable_il_trim_wasm_always
fanyang-mono f5860d7
Put the trimmed assemblies in a new folder, output an updated list of…
fanyang-mono 523bd20
Put trimmed assemblies in IntermediateOutputPath
fanyang-mono a39f0ee
Remove TrimmedAssemblies
fanyang-mono 1ee9c57
Create trimmed assembly folder before the parallel run
fanyang-mono 872c2ca
Try to fix the issue with missing item
fanyang-mono e51edf7
Fix parallelism issue
fanyang-mono b6fa669
Merge branch 'main' into enable_il_trim_wasm_always
fanyang-mono d6cb0ac
Only start the trim when the assembly is newer than the output
fanyang-mono 2687449
Add assembly item to the list, when
fanyang-mono a133e9d
Add some logging
fanyang-mono ae5c260
Fixed runtimeconfig.json file path issue and disabed failed tests
fanyang-mono 58ec329
Update parameter name
fanyang-mono 288e186
Fix wasi build
fanyang-mono 482ce8f
Use the correct parameter
fanyang-mono 725dbfd
Merge branch 'main' into enable_il_trim_wasm_always
fanyang-mono 11929f7
Fix runtime test failure
fanyang-mono 968da46
Merge remote-tracking branch 'origin/main' into enable_il_trim_wasm_a…
radical a064c3a
WasmAppBuilder: runtimeconfig.json path can be null
radical 117e6b3
cleanup
radical b15ef5b
ILStrip: fix typo in id name
radical cb975b8
Cleanup
radical 1743fb9
ILStrip: ensure output assemblies are in the same order as the input.…
radical 4919f5a
more cleanup
radical f9d07b1
Re-enable disabled tests
radical 9de167c
Change the default value for WasmStripILAfterAOT to false
fanyang-mono 1c9e04d
Fix the issue with changing the value of WasmStripILAfterAOT between …
fanyang-mono 7764b25
Move the location of file deleting
fanyang-mono 21a066a
Use WasmAssembliesFinal or ResolvedFileToPublish during publish in Wa…
maraf aeab3ce
Copy metadata in AOT compiler and when creating WasmAssembliesToBundl…
maraf e117b79
Add _WasmSatelliteAssemblies to WasmAssembliesFinal
maraf 3f630a1
Add a wasm template test
fanyang-mono 12cff3d
Include all non-dll ResolvedFileToPublish for ComputeWasmPublishAssets
maraf 17085d9
Merge remote-tracking branch 'upstream/main' into fan/enable_il_trim_…
maraf ed84935
Add a blazor template test
fanyang-mono f2011f8
Address review feedback
fanyang-mono 88d537b
Update src/mono/wasm/Wasm.Build.Tests/Templates/WasmTemplateTests.cs
fanyang-mono c4c3155
Update parameter name
fanyang-mono 00b1f21
Update usage of parameter
fanyang-mono 7b76c7e
Revert EmccCompile change
fanyang-mono 977f49d
Merge remote-tracking branch 'origin/main' into enable_il_trim_wasm_a…
radical ada4f8b
MonoAOTCompiler: revert rebuilding when WasmStripILAfterAOT value cha…
radical 4557eb4
Compress -> GZipCompress, and cleanup
radical 9a7c37d
rework the tests
radical 562d845
ILStrip.cs: Emit a message about stripping to make it obvious to the …
radical 740bb45
WasmApp.targets: update comment
radical a93b5d1
Change default value to false and update test
fanyang-mono 5fc92ca
Merge remote-tracking branch 'origin/main' into enable_il_trim_wasm_a…
fanyang-mono 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
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.