diff options
author | Alon Zakai <azakai@google.com> | 2019-11-19 17:05:22 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 17:05:22 -0800 |
commit | cfa647c9fb0474687014de8d3f0b6c9f0d56a88b (patch) | |
tree | 4832a46cf6426300f6afc6f8a85270bfeb80c0b2 /.gitignore | |
parent | 00bbde099c0d968ce4ab95eba56d767d534e4094 (diff) | |
download | binaryen-cfa647c9fb0474687014de8d3f0b6c9f0d56a88b.tar.gz binaryen-cfa647c9fb0474687014de8d3f0b6c9f0d56a88b.tar.bz2 binaryen-cfa647c9fb0474687014de8d3f0b6c9f0d56a88b.zip |
Add a --strip-dwarf pass (#2454)
This pass strips DWARF debug sections, but not other debug
sections. This is useful when emitting source maps, as we do
need the SourceMapURL section, but the DWARF sections are
not longer necessary (and we've seen a testcase where they
are massively large, so big the wasm can't even be loaded in
a browser...).
Also contains a trivial one-line fix in --extract-function which
was necessary to create the testcase here: that pass extracts
a function from a wasm file (like llvm-extract) but it didn't check
if an export already existed for the function.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions