diff options
author | Sam Clegg <sbc@chromium.org> | 2021-04-21 14:13:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 14:13:35 -0700 |
commit | cb776da297a845e15171405b7f7518619122d7aa (patch) | |
tree | b61d7702b1403e7b433c5ee788440a8e9d042671 /test/wasm2js/deterministic.2asm.js | |
parent | 3d8fafdffa9799d73c9cfd5e0df11f9ffe53b34f (diff) | |
download | binaryen-cb776da297a845e15171405b7f7518619122d7aa.tar.gz binaryen-cb776da297a845e15171405b7f7518619122d7aa.tar.bz2 binaryen-cb776da297a845e15171405b7f7518619122d7aa.zip |
wasm-metadce: Keep symbols alive if there is any refeence to corresponding GOT.mem or GOT.func import (#3831)
This prevents the DCE of used symbols in emscripten's `MAIN_MODULE=2`
use case which we are starting to use and recommend a lot more.
Part of the fix for https://github.com/emscripten-core/emscripten/issues/13786
Diffstat (limited to 'test/wasm2js/deterministic.2asm.js')
0 files changed, 0 insertions, 0 deletions