summaryrefslogtreecommitdiff
path: root/src/wasm-emscripten.h
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2021-12-06 17:12:07 -0800
committerGitHub <noreply@github.com>2021-12-06 17:12:07 -0800
commitf0d835165aea108b213a2b9ea148453a917223d5 (patch)
tree8f695d97d3d8a46c4ff0cf308b8a90f4030fd218 /src/wasm-emscripten.h
parentf0668172831da496a6a781c82fa4b2dc0f4c9028 (diff)
downloadbinaryen-f0d835165aea108b213a2b9ea148453a917223d5.tar.gz
binaryen-f0d835165aea108b213a2b9ea148453a917223d5.tar.bz2
binaryen-f0d835165aea108b213a2b9ea148453a917223d5.zip
[EH] Make interpreter handle uncaught exceptions (#4369)
When a wasm exception is thrown and uncaught in the interpreter, it caused the whole interpreter to crash, rather than gracefully reporting it. This fixes the problem, and also compares whether an uncaught exception happened when comparing the results before and after optimizations in `--fuzz-exec`. To do that, when `--fuzz-exec` is given, we now compare results even when the function does not have return values. Logs for some existing test have changed because of this.
Diffstat (limited to 'src/wasm-emscripten.h')
0 files changed, 0 insertions, 0 deletions