diff options
author | Alon Zakai <azakai@google.com> | 2020-04-30 14:21:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 14:21:40 -0700 |
commit | 107e2fd4814be2855cf111596f5dd69c026da55d (patch) | |
tree | 767b81da5d1c34c70bd6ce82851b736f0c60ed42 /test/binaryen.js/low-memory-unused.js | |
parent | 45ff1e4c306645bd95e69c777152bd6cdf2f85e4 (diff) | |
download | binaryen-107e2fd4814be2855cf111596f5dd69c026da55d.tar.gz binaryen-107e2fd4814be2855cf111596f5dd69c026da55d.tar.bz2 binaryen-107e2fd4814be2855cf111596f5dd69c026da55d.zip |
fuzz_opt.py improvements (#2822)
Don't run wasm2c2wasm on large wasm files, as it can OOM the VM.
I've seen this happen on a single wasm on multiple engines, so it's not
a specific engine bug. Sticking to below-average wasm sizes seems ok.
That change means that we check if a vm can run on a per-wasm basis.
That required some refactoring as it means we may be able to run on
the "before" wasm but not the "after" one, or vice versa.
Fix a tiny nondeterminism issue with iterating on a set().
Some tiny docs improvements to the error shown when a bug is found.
Diffstat (limited to 'test/binaryen.js/low-memory-unused.js')
0 files changed, 0 insertions, 0 deletions