• 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
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...