diff options
author | Alon Zakai <azakai@google.com> | 2022-06-01 16:12:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 16:12:18 -0700 |
commit | fc00dcc64c337a8128fbf2b5fbdb40bb0aaa861b (patch) | |
tree | 0daaeba892f71afa945a1df27e328a2a3efc8071 /test | |
parent | 8470e7d780e6cf6171f47638e54bd5a019d8e055 (diff) | |
download | binaryen-fc00dcc64c337a8128fbf2b5fbdb40bb0aaa861b.tar.gz binaryen-fc00dcc64c337a8128fbf2b5fbdb40bb0aaa861b.tar.bz2 binaryen-fc00dcc64c337a8128fbf2b5fbdb40bb0aaa861b.zip |
Fuzzer: Add support for creating structs and arrays in makeConst (#4707)
#4659 adds a testcase with an import of (ref $struct). This could cause an error in
the fuzzer, since it wants to remove imports (because the various fuzzers cannot pass
in custom imports - they want to just run the wasm). When it tries to remove that
import it tries to create a constant for a struct reference, and fails. To fix that, add
enough support to create structs and arrays at least in the simple case where all their
fields are defaultable.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions