Skip to content
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

[instantiation linking] create and import WASMMemoryInstance for aot #3887

Conversation

lum1n0us
Copy link
Collaborator

based on #3845

core/iwasm/aot/aot_loader.c Outdated Show resolved Hide resolved
core/iwasm/aot/aot_runtime.c Outdated Show resolved Hide resolved
core/iwasm/aot/aot_runtime.c Outdated Show resolved Hide resolved
core/iwasm/aot/aot_runtime.c Outdated Show resolved Hide resolved
core/iwasm/aot/aot_runtime.c Outdated Show resolved Hide resolved
core/iwasm/aot/aot_runtime.c Show resolved Hide resolved
core/iwasm/common/wasm_runtime_common.c Show resolved Hide resolved
core/iwasm/compilation/aot_emit_aot_file.c Show resolved Hide resolved
Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had better test whether the AOT file compiled by older wamrc work in the new code?

core/iwasm/include/wasm_export.h Outdated Show resolved Hide resolved
core/iwasm/compilation/aot.c Outdated Show resolved Hide resolved
core/iwasm/compilation/aot_emit_aot_file.c Outdated Show resolved Hide resolved
core/iwasm/compilation/aot_emit_aot_file.c Outdated Show resolved Hide resolved
core/iwasm/compilation/aot_emit_aot_file.c Outdated Show resolved Hide resolved
@lum1n0us
Copy link
Collaborator Author

Had better test whether the AOT file compiled by older wamrc work in the new code?

Agreed. I intend to do that once all four WASMXXXInstance have been implemented. However, given the current progress, it is difficult to ensure compatibility starting from WASMGlobalInstance.

Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lum1n0us lum1n0us merged commit 9b5058c into bytecodealliance:dev/instantiate_linking Nov 20, 2024
382 of 383 checks passed
@lum1n0us lum1n0us deleted the feat_inst_linking_memory_aot branch November 20, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants