summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-03-07 11:08:28 -0800
committerGitHub <noreply@github.com>2023-03-07 11:08:28 -0800
commit789b1422fd5c7356d0af7fa1a16a84132c839021 (patch)
tree1063905ff9cdcc347b48e1b23841db35fbf76dce
parent61921b4af3f471508dff0d764b4ffbf0a4cba5fb (diff)
downloadbinaryen-789b1422fd5c7356d0af7fa1a16a84132c839021.tar.gz
binaryen-789b1422fd5c7356d0af7fa1a16a84132c839021.tar.bz2
binaryen-789b1422fd5c7356d0af7fa1a16a84132c839021.zip
Fuzzer: Skip testcases that hit V8's array size limit (#5550)
-rwxr-xr-xscripts/fuzz_opt.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py
index e08600472..ea4529ff2 100755
--- a/scripts/fuzz_opt.py
+++ b/scripts/fuzz_opt.py
@@ -589,12 +589,18 @@ def run_vm(cmd):
known_issues = [
# can be caused by flatten, ssa, etc. passes
'local count too large',
+ # can be caused by (array.new $type -1) etc.
+ 'requested new array is too large',
# https://github.com/WebAssembly/binaryen/issues/3767
# note that this text is a little too broad, but the problem is rare
# enough that it's unlikely to hide an unrelated issue
'found br_if of type',
- # all host limitations are arbitrary and may differ between VMs and also
- # be affected by optimizations, so ignore them.
+ # all host limitations are arbitrary and may differ between VMs and
+ # also be affected by optimizations, so ignore them.
+ # this is the prefix that the binaryen interpreter emits. For V8,
+ # there is no single host-limit signal, and we have the earlier
+ # strings in this list for known issues (to which more need to be
+ # added as necessary).
HOST_LIMIT_PREFIX,
]
for issue in known_issues: