diff options
author | Alon Zakai <azakai@google.com> | 2020-11-12 11:33:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 11:33:52 -0800 |
commit | 20422e2e6d64d79dffd110781f680f98bdb16405 (patch) | |
tree | 1be410b598395496f57bb435ea04f7602e91f56e /src/pass.h | |
parent | db64c53579dd925fc48260d4979d1bb9c1dfed9f (diff) | |
download | binaryen-20422e2e6d64d79dffd110781f680f98bdb16405.tar.gz binaryen-20422e2e6d64d79dffd110781f680f98bdb16405.tar.bz2 binaryen-20422e2e6d64d79dffd110781f680f98bdb16405.zip |
[Fuzzer] Add a chance to pick particularly important initial contents (#3343)
OptimizeInstructions is seeing the most work these days, so it's good for
the fuzzer to focus on that some more.
Also move some code around in the main test wast: it's useful to put each
feature in its own module to maximize the chance of getting them to be used.
That is, if a module has a single use of atomics, then if atomics are disabled
in the current run, we can't use any of the module and we skip initial contents
entirely. Moving each feature to it's own module reduces that risk. (We do
pick randomly between the modules, and atm a small module has the same
chance as a big one, but this still seems worth it.)
Diffstat (limited to 'src/pass.h')
0 files changed, 0 insertions, 0 deletions