• Eric Holk (eholk)'s avatar
    [wasm] Refactor trap handlers to make way for Windows support · bb60967e
    Eric Holk (eholk) authored
    In preparing for adding trap-based bounds checking to Windows, this
    change refactors the code to separate the platform-specific portions
    from that which can be shared between platforms.
    
    Internally, we've renamed `RegisterDefaultSignalHandler` to
    `RegisterDefaultTrapHandler` to more accurately represent the
    difference in terminology between Linux (signals) and Windows
    (exceptions). The external API is left the same so as not to break
    downstream clients.
    
    This CL is primarily to make room for Windows support. Future CLs
    will begin adding support for Windows.
    
    This is a reincarnation of https://crrev.com/c/626558.
    
    Bug: v8:6743
    Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
    Change-Id: Iaa8bfd68c14cd1d17933b12c24cb8dd5ee8a21d6
    Reviewed-on: https://chromium-review.googlesource.com/998829
    Commit-Queue: Eric Holk <eholk@chromium.org>
    Reviewed-by: 's avatarBrad Nelson <bradnelson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#53006}
    bb60967e
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides 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...
.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...