diff options
author | Alon Zakai <azakai@google.com> | 2020-01-28 10:45:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 10:45:48 -0800 |
commit | 9384ff68eea8090578354bab35fce2e621a588c4 (patch) | |
tree | 3ba04c14502f6fdbe552ba283cfa0287728f77cb /test/unit/input/dwarf/cubescript.wasm | |
parent | b00f7f9b97631b214eff177b92639df6307db286 (diff) | |
download | binaryen-9384ff68eea8090578354bab35fce2e621a588c4.tar.gz binaryen-9384ff68eea8090578354bab35fce2e621a588c4.tar.bz2 binaryen-9384ff68eea8090578354bab35fce2e621a588c4.zip |
DWARF: Fix debug_abbrev section (#2630)
Each compilation unit's abbreviations must be terminated by
a zero, so that we use the right abbreviations. This adds that
support to the YAML layer, both adding the zeros and parsing
them to look in the right abbreviation section at the right time.
Also add two large testcases, zlib and cubescript, which
crash without this and the last PR.
Diffstat (limited to 'test/unit/input/dwarf/cubescript.wasm')
-rw-r--r-- | test/unit/input/dwarf/cubescript.wasm | bin | 0 -> 193546 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/unit/input/dwarf/cubescript.wasm b/test/unit/input/dwarf/cubescript.wasm Binary files differnew file mode 100644 index 000000000..4fcbf2216 --- /dev/null +++ b/test/unit/input/dwarf/cubescript.wasm |