• Michael Starzinger's avatar
    [wasm] Add preliminary support for imported exceptions. · 8238a9b2
    Michael Starzinger authored
    This adds the ability to import exception into a module at instantiation
    time. Only a {WasmExceptionObject} that has been exported by another
    module instance can be imported, all other values are rejected.
    
    Note that currently there is no signature check being performed to make
    sure the imported exception matches the expected type. Also the identity
    of imported exceptions is not yet preserved.
    
    Furthermore the engine does not yet match thrown exception objects on a
    global level across modules. Hence imported exceptions will (wrongly)
    behave as completely new types within the module.
    
    R=clemensh@chromium.org
    TEST=mjsunit/wasm/exceptions-import,unittests/WasmModuleVerifyTest
    BUG=v8:8091
    
    Change-Id: If247762b949a1ba4a87d13bc3e790a45dbc67815
    Reviewed-on: https://chromium-review.googlesource.com/1216402
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55777}
    8238a9b2
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...