diff options
author | Thomas Lively <tlively@google.com> | 2024-06-11 14:14:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 14:14:54 -0700 |
commit | 425ecc65dea1a26c5b3667a46926a9834834b5cc (patch) | |
tree | 21b3e6db639aff4fb732e976d48ac11741b34451 /src/parser/wat-parser-internal.h | |
parent | 2dcf67049ef4d2cbcb2a65d367be97ae675f9d8a (diff) | |
download | binaryen-425ecc65dea1a26c5b3667a46926a9834834b5cc.tar.gz binaryen-425ecc65dea1a26c5b3667a46926a9834834b5cc.tar.bz2 binaryen-425ecc65dea1a26c5b3667a46926a9834834b5cc.zip |
Fix wasm-split bug in absence of active element segments (#6651)
The module splitting code incorrectly assumed that there would be at least one
active element segment and failed to initialize the table slot manager with a
function table if that was not the case. Fix the bug by setting the table even
when there are no active segments and add a test.
Fixes #6572 and #6637.
Diffstat (limited to 'src/parser/wat-parser-internal.h')
0 files changed, 0 insertions, 0 deletions