• Clemens Backes's avatar
    Reland "[traphandler] Add simulator support" · 180a8ca8
    Clemens Backes authored
    This is a reland of 431fff66.
    The fix is in BUILD.gn: We need to also include chromeos, which is a
    linux target which is not covered by "is_linux" in gn.
    
    R=ahaas@chromium.org
    
    Original change's description:
    > [traphandler] Add simulator support
    >
    > This prepares the trap handler to support being used from simulators.
    > Modifications to the arm64 simulator will be done in a follow-up CL. For
    > now, the trap handler will be registered but not used in Wasm (we emit
    > explicit bounds checks instead, as before).
    >
    > The implementation uses inline assembly, so it is only available on x64
    > POSIX systems for now. This is the main platform we use for testing and
    > for fuzzing, so it should give us the test coverage we need. If needed,
    > inline assembly for other platforms can be added later.
    > The new code will be executed by the existing arm64 simulator bots, e.g.
    > "V8 Linux - arm64 - sim".
    >
    > R=ahaas@chromium.org, mseaborn@chromium.org
    >
    > Bug: v8:11955
    > Change-Id: Idc50291c704d9dea902ae0098e5309f19055816c
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3011160
    > Commit-Queue: Clemens Backes <clemensb@chromium.org>
    > Reviewed-by: Andreas Haas <ahaas@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#75780}
    
    Bug: v8:11955
    Change-Id: I8af39dea5b2cd3fa5418170a458832b3d6075107
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3040844
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Auto-Submit: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75809}
    180a8ca8
Name
Last commit
Last update
.github Loading commit data...
bazel 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...
.bazelrc Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.flake8 Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.mailmap Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.bazel Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
RISCV_OWNERS Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
WORKSPACE Loading commit data...
codereview.settings Loading commit data...