v8/test
Clemens Backes 5d4acc4eea [wasm] Avoid passing nullptr to CodeSpaceWriteScope
After https://crrev.com/c/3484317, passing {nullptr} to the
{CodeSpaceWriteScope} won't work any more. Since the tests do not have a
{NativeModule} to pass instead, make them use
{pthread_jit_write_protect_np} directly.

The jump-table assembler tests have dedicated threads for writing and
executing the code, so we just switch once per thread. The icache test
switches between writing and executing, so we use a little struct for
switching.

R=jkummerow@chromium.org, tebbi@chromium.org

Bug: v8:12644, v8:11974
Change-Id: I116f3ad75454f749cdc4635802a4617ff91548b2
Cq-Include-Trybots: luci.v8.try:v8_mac_arm64_rel_ng
Cq-Include-Trybots: luci.v8.try:v8_mac_arm64_dbg_ng
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3487995
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79290}
2022-02-25 16:49:17 +00:00
..
benchmarks [tests] Skip slow tests on certain configurations 2022-01-31 13:52:22 +00:00
bigint [bigint][test] Better random input generation 2021-09-08 15:39:27 +00:00
cctest [wasm] Avoid passing nullptr to CodeSpaceWriteScope 2022-02-25 16:49:17 +00:00
common [wasm] Small cleanups 2022-02-17 13:29:33 +00:00
debugger Revert "[turbofan] Making OSR concurrent" 2022-02-21 14:02:43 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer Split V8_OS_MACOSX into V8_OS_DARWIN and V8_OS_MACOS 2022-02-18 10:24:59 +00:00
fuzzilli
inspector [maglev] Initial Maglev commit 2022-02-24 09:50:50 +00:00
intl [intl] Part 2 of NumberFormat v3 2022-02-18 08:47:59 +00:00
js-perf-test [js-perf-test] Properly create packed arrays in Array tests 2022-02-09 07:31:21 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [test] Automatically add --no-stress-opt to message tests 2022-02-18 08:51:12 +00:00
mjsunit [wasm] Fix reachability tracking for folded branches 2022-02-25 15:23:02 +00:00
mkgrokdump [heap] Add flag for disabling map space 2022-02-18 09:03:07 +00:00
mozilla [test] skip mozilla/ecma/Array/15.4.4.5-3 (flaky) 2022-02-24 09:23:01 +00:00
test262 [infra] Fork test262-harness 2022-02-23 18:47:35 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests heap: Refactor GC type timer methods 2022-02-24 12:43:50 +00:00
wasm-api-tests [wasm] Deserialization should trigger FinishedTopTierCompilation event 2022-01-21 13:21:36 +00:00
wasm-js [wasm] Update spec tests 2022-02-10 13:15:08 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-02-10 13:15:08 +00:00
webkit [test] Disable failing MSVC test 2021-12-01 15:51:59 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS