-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Enable EXPORT_ALL in main modules with the wasm backend #10079
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
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
24c7157
EXPORT_ALL for MAIN_MODULES in the wasm backend. fixes #9793
kripken 7925874
Merge remote-tracking branch 'origin/incoming' into exall
kripken 7132b9f
Fixes. also fixes metadce here, turns out
kripken c7ee0b2
Merge remote-tracking branch 'origin/incoming' into exall
kripken f4ed6e3
wip yolo
kripken 94c4bc4
fastcomp side modules need EXPORT_ALL
kripken 618de01
update tests
kripken 10500e5
update tests
kripken 97b0f5a
comment fix
kripken 7e398ff
update tests
kripken 2e18add
Merge remote-tracking branch 'origin/incoming' into exall
kripken 637e25e
try
kripken 460f247
more
kripken 6b5d0ea
wip
kripken 8ea0c49
fix
kripken cbd5965
better
kripken a09b98c
update tests
kripken a5bc081
feedback
kripken 2f91aeb
Merge remote-tracking branch 'origin/incoming' into exall
kripken 7f0c7a5
fix
kripken 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
18 changes: 9 additions & 9 deletions
18
tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE_2.exports
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
___errno_location | ||
__apply_relocations | ||
_main | ||
_malloc | ||
dynCall_X | ||
dynCall_ii | ||
dynCall_iiii | ||
dynCall_iiiii | ||
stackAlloc | ||
___errno_location | ||
__apply_relocations | ||
_main | ||
_malloc | ||
dynCall_X | ||
dynCall_ii | ||
dynCall_iiii | ||
dynCall_iiiii | ||
stackAlloc |
26 changes: 13 additions & 13 deletions
26
tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE_2.imports
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
STACKTOP | ||
___wasi_fd_write | ||
__memory_base | ||
__table_base | ||
_emscripten_get_heap_size | ||
_emscripten_memcpy_big | ||
_emscripten_resize_heap | ||
abort | ||
fb | ||
gb | ||
memory | ||
setTempRet0 | ||
table | ||
STACKTOP | ||
___wasi_fd_write | ||
__memory_base | ||
__table_base | ||
_emscripten_get_heap_size | ||
_emscripten_memcpy_big | ||
_emscripten_resize_heap | ||
abort | ||
fb | ||
gb | ||
memory | ||
setTempRet0 | ||
table |
26 changes: 13 additions & 13 deletions
26
tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE_2.sent
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
STACKTOP | ||
___wasi_fd_write | ||
__memory_base | ||
__table_base | ||
_emscripten_get_heap_size | ||
_emscripten_memcpy_big | ||
_emscripten_resize_heap | ||
abort | ||
fb | ||
gb | ||
memory | ||
setTempRet0 | ||
table | ||
STACKTOP | ||
___wasi_fd_write | ||
__memory_base | ||
__table_base | ||
_emscripten_get_heap_size | ||
_emscripten_memcpy_big | ||
_emscripten_resize_heap | ||
abort | ||
fb | ||
gb | ||
memory | ||
setTempRet0 | ||
table |
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
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.
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.
If WASM_BACKEND?
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.
I think there is no harm to do it in fastcomp too, and it makes the two paths more similar. Also, I'm not sure that there isn't a fastcomp bug that isn't fixed by this, but I didn't investigate. But maybe I'm forgetting something?