diff options
author | Alon Zakai <azakai@google.com> | 2023-04-28 09:59:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 09:59:23 -0700 |
commit | 50902ce3514e6c762ae679621df4673b9d7801e5 (patch) | |
tree | 1f37c84d1c309d55fe85a47341b22402cfa32e81 /src/wasm2js.h | |
parent | f7706ad4999a087140924f073e1a2135d4ea9074 (diff) | |
download | binaryen-50902ce3514e6c762ae679621df4673b9d7801e5.tar.gz binaryen-50902ce3514e6c762ae679621df4673b9d7801e5.tar.bz2 binaryen-50902ce3514e6c762ae679621df4673b9d7801e5.zip |
Fix name deduplication with partial names sections (#5689)
We already deduplicated names in the names section (to defend against a weird
binary), but we also need to deduplicate the names of items not in the names
section, so they don't overlap with the names that are. See example in the testcase.
Normally wasm files use names for all items in each group. This only became
noticeable in some wasm-ctor-eval work where new temp globals were added
that were not given names.
Diffstat (limited to 'src/wasm2js.h')
0 files changed, 0 insertions, 0 deletions