• Clemens Backes's avatar
    [traphandler] Add simulator support · 431fff66
    Clemens Backes authored
    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: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75780}
    431fff66
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
assembler Loading commit data...
base Loading commit data...
codegen Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
date Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parser Loading commit data...
profiler Loading commit data...
regexp Loading commit data...
regress Loading commit data...
strings Loading commit data...
tasks Loading commit data...
torque Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
run-all-unittests.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
testcfg.py Loading commit data...
unittests.status Loading commit data...