• 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
..
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
handler-inside-posix.cc Loading commit data...
handler-inside-posix.h Loading commit data...
handler-inside-win.cc Loading commit data...
handler-inside-win.h Loading commit data...
handler-inside.cc Loading commit data...
handler-outside-posix.cc Loading commit data...
handler-outside-simulator.cc Loading commit data...
handler-outside-win.cc Loading commit data...
handler-outside.cc Loading commit data...
handler-shared.cc Loading commit data...
trap-handler-internal.h Loading commit data...
trap-handler-simulator.h Loading commit data...
trap-handler.h Loading commit data...