diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-01-31 09:35:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-31 09:35:32 -0800 |
commit | ddb5acd34238967a2487a70926849c89f38a35e2 (patch) | |
tree | 35be190a17fc8b1d9a0824dd5a4376f46d53c9a0 /test/passes/strip-debug.wasm | |
parent | 5f1afa58d22dce1088c63eff690283d8c615feee (diff) | |
download | binaryen-ddb5acd34238967a2487a70926849c89f38a35e2.tar.gz binaryen-ddb5acd34238967a2487a70926849c89f38a35e2.tar.bz2 binaryen-ddb5acd34238967a2487a70926849c89f38a35e2.zip |
Strip the producers section in --strip-producers (#1875)
WebAssembly/tool-conventions#93 has a summary of emscripten's current thinking on this. For Binaryen, we don't want to do anything to the producers section by default, but do want it to be possible to optionally remove it. To achieve that, this PR
* creates a --strip-producers pass that removes that section.
* creates a --strip-debug pass that removes debug info, same as the old --strip, which is still around but deprecated.
A followup in emscripten will use this pass by default.
Diffstat (limited to 'test/passes/strip-debug.wasm')
-rw-r--r-- | test/passes/strip-debug.wasm | bin | 0 -> 771 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/passes/strip-debug.wasm b/test/passes/strip-debug.wasm Binary files differnew file mode 100644 index 000000000..59065683c --- /dev/null +++ b/test/passes/strip-debug.wasm |