diff options
author | Alon Zakai <azakai@google.com> | 2023-06-21 10:11:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 10:11:32 -0700 |
commit | b783932cd3c27b3a5fc1cde300a0a78bb05e15bc (patch) | |
tree | c4c687b0f80812107f2ad1def84cdc448a6944eb /src/wasm-builder.h | |
parent | e41c4dad76aed33a90237e0a3ce140d29f75418c (diff) | |
download | binaryen-b783932cd3c27b3a5fc1cde300a0a78bb05e15bc.tar.gz binaryen-b783932cd3c27b3a5fc1cde300a0a78bb05e15bc.tar.bz2 binaryen-b783932cd3c27b3a5fc1cde300a0a78bb05e15bc.zip |
Limit literal printing to a reasonable limit (#5779)
Without this, a massive GC array for example can end up being printed as a huge
amount of output, which is a problem in the fuzzer. I noticed this because a testcase
was taking minutes to run.
Perhaps we should add an option (BINARYEN_PRINT_FULL=1?) to disable this limit,
but let's see if we ever need that.
Diffstat (limited to 'src/wasm-builder.h')
0 files changed, 0 insertions, 0 deletions