diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-09-27 16:53:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-27 16:53:26 -0700 |
commit | 3c27bc8267a52661ecfc2e1a369585ef420a6055 (patch) | |
tree | 688f8ab85d37f212b87e15bcd0b3d3217ed01681 /auto_update_tests.py | |
parent | 3bba1955745ce0aae8e76c5e88dd46ab5b6612d6 (diff) | |
download | binaryen-3c27bc8267a52661ecfc2e1a369585ef420a6055.tar.gz binaryen-3c27bc8267a52661ecfc2e1a369585ef420a6055.tar.bz2 binaryen-3c27bc8267a52661ecfc2e1a369585ef420a6055.zip |
Add feature flags and validation to wasm-metadce (#2364)
Sometimes wasm-metadce is the last tool to run over a binary in
Emscripten, and in that case it needs to know what features are
enabled in order to emit a valid binary. For example it needs to know
whether to emit a data count section.
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-x | auto_update_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py index cfc29e5f8..8d681d214 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -305,7 +305,7 @@ def update_metadce_tests(): print('..', t) t = os.path.join(options.binaryen_test, 'metadce', t) graph = t + '.graph.txt' - cmd = WASM_METADCE + [t, '--graph-file=' + graph, '-o', 'a.wast', '-S'] + cmd = WASM_METADCE + [t, '--graph-file=' + graph, '-o', 'a.wast', '-S', '-all'] stdout = run_command(cmd) actual = open('a.wast').read() out = t + '.dced' |