diff options
author | Max Graey <maxgraey@gmail.com> | 2021-08-27 00:45:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 14:45:29 -0700 |
commit | 81c10c3db2b1e8aa07d7526332f0350cb0a4306a (patch) | |
tree | 636bad4d30d52201808a49c899a1be6b9dc02a0a /src/wasm/wasm-io.cpp | |
parent | 94cf0c2801f784209755d1527d3eda78a38b8034 (diff) | |
download | binaryen-81c10c3db2b1e8aa07d7526332f0350cb0a4306a.tar.gz binaryen-81c10c3db2b1e8aa07d7526332f0350cb0a4306a.tar.bz2 binaryen-81c10c3db2b1e8aa07d7526332f0350cb0a4306a.zip |
[fuzz-opt] Better error output for non-deterministic check (#4102)
When we catches "Output must be deterministic" we can't see any details. This PR fix
this and now we can see diff of b1.wasm and b2.wasm files.
Example output:
Output must be deterministic.
Diff:
--- expected
+++ actual
@@ -2072,9 +2072,7 @@
)
(drop
(block $label$16 (result funcref)
- (local.set $10
- (ref.null func)
- )
+ (nop)
(drop
(call $22
(f64.const 0.296)
Diffstat (limited to 'src/wasm/wasm-io.cpp')
0 files changed, 0 insertions, 0 deletions