summaryrefslogtreecommitdiff
path: root/test/unit/input/dwarf/cubescript.wasm
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-01-28 10:45:48 -0800
committerGitHub <noreply@github.com>2020-01-28 10:45:48 -0800
commit9384ff68eea8090578354bab35fce2e621a588c4 (patch)
tree3ba04c14502f6fdbe552ba283cfa0287728f77cb /test/unit/input/dwarf/cubescript.wasm
parentb00f7f9b97631b214eff177b92639df6307db286 (diff)
downloadbinaryen-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.wasmbin0 -> 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
new file mode 100644
index 000000000..4fcbf2216
--- /dev/null
+++ b/test/unit/input/dwarf/cubescript.wasm
Binary files differ