diff options
author | かめのこにょこにょこ <kamenokonokotan@gmail.com> | 2022-01-15 07:13:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-14 14:13:54 -0800 |
commit | af386dfa24a8c22f5c44e62b32f6ebaaa8cf1081 (patch) | |
tree | 7fd4af04f27914f9418eed687a238a51d1e56e46 /src/wasm/wasm-binary.cpp | |
parent | 8e8284e6464d524bd9091f21a62982ed54df0093 (diff) | |
download | binaryen-af386dfa24a8c22f5c44e62b32f6ebaaa8cf1081.tar.gz binaryen-af386dfa24a8c22f5c44e62b32f6ebaaa8cf1081.tar.bz2 binaryen-af386dfa24a8c22f5c44e62b32f6ebaaa8cf1081.zip |
Allow import mutable globals used in Asyncify pass (#4427)
This PR is part of the solution to emscripten-core/emscripten#15594.
emscripten Asyncify won't work properly in side modules, because the
globals, __asyncify_state and __asyncify_data, are not synchronized
between main-module and side-modules.
A new pass arg, asyncify-side-module, is added to make
__asyncify_state and __asyncify_data imported in the instrumented
wasm.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions