diff options
author | Alon Zakai <azakai@google.com> | 2021-04-01 12:20:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 12:20:57 -0700 |
commit | df6df2086992943cefed9184b8e4ebf24e3ed021 (patch) | |
tree | 848d3a5ead8cc3a9113ecba4819abf41415b8957 | |
parent | 62b71e06eb69e00c9771d442ce7d2d93f3e03497 (diff) | |
download | binaryen-df6df2086992943cefed9184b8e4ebf24e3ed021.tar.gz binaryen-df6df2086992943cefed9184b8e4ebf24e3ed021.tar.bz2 binaryen-df6df2086992943cefed9184b8e4ebf24e3ed021.zip |
Disallow flatten + GC in the fuzzer due to RTTs (#3768)
RTTs are not defaultable, and we cannot spill them to locals.
-rwxr-xr-x | scripts/fuzz_opt.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py index df7ab8136..6f184d6aa 100755 --- a/scripts/fuzz_opt.py +++ b/scripts/fuzz_opt.py @@ -991,6 +991,9 @@ def randomize_opt_flags(): if '--disable-multivalue' not in FEATURE_OPTS and '--disable-reference-types' not in FEATURE_OPTS: print('avoiding --flatten due to multivalue + reference types not supporting it (spilling of non-nullable tuples)') continue + if '--gc' not in FEATURE_OPTS: + print('avoiding --flatten due to GC not supporting it (spilling of RTTs)') + continue if INITIAL_CONTENTS and os.path.getsize(INITIAL_CONTENTS) > 2000: print('avoiding --flatten due using a large amount of initial contents, which may blow up') continue |