v8/test/cctest/wasm
Manos Koukoutos 455d38ff8d Reland "[wasm-gc] Introduce wasm null object"
This is a reland of commit 2e357c4814

Difference compared to original: Initialize wasm-null object's
payload.

Original change's description:
> [wasm-gc] Introduce wasm null object
>
> We introduce a wasm null object, separate from JS null. Its purpose is
> to support trapping null accesses for wasm objects.
> This will be achieved by allocating a large payload for it (larger than
> any wasm struct) and memory-protecting it (see linked CL). The two null
> objects get mapped to each other at the wasm-JS boundary.
> Since externref objects live on the JS side of the boundary,
> null-related instructions in wasm now need an additional type argument
> to handle the correct null object.
>
> Bug: v8:7748
> Change-Id: I06da00fcd279cc5376e69ab7858e3782f5b5081e
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4200639
> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
> Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#85648}

Bug: v8:7748
Change-Id: I46413d05f0213229f1d19277ae98dbb8df5afdf9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4224011
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85705}
2023-02-07 11:19:47 +00:00
..
DIR_METADATA
OWNERS
test-backing-store.cc [arraybuffers, api] Implement [[ArrayBufferDetachKey]] support 2022-10-21 12:55:18 +00:00
test-c-wasm-entry.cc Rename CodeDataContainer to Code 2023-01-18 08:44:08 +00:00
test-compilation-cache.cc [wasm] Use v8_flags for accessing flag values 2022-08-29 12:43:46 +00:00
test-gc.cc Reland "[wasm-gc] Introduce wasm null object" 2023-02-07 11:19:47 +00:00
test-grow-memory.cc [wasm][test][cleanup] Use more base::Vector 2023-02-03 09:37:34 +00:00
test-jump-table-assembler.cc Reland "[wasm] Do not add too much code at once" 2022-11-14 18:10:10 +00:00
test-liftoff-for-fuzzing.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-liftoff-inspection.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-64.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-asmjs.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-atomics64.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-atomics.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-bulk-memory.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-exceptions.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-interpreter.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-js.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-memory64.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-module.cc [wasm][test][cleanup] Use more base::Vector 2023-02-03 09:37:34 +00:00
test-run-wasm-relaxed-simd.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-sign-extension.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-simd-liftoff.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-simd.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-run-wasm-wrappers.cc Rename CodeDataContainer to Code 2023-01-18 08:44:08 +00:00
test-run-wasm.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-streaming-compilation.cc Reland: "[wasm] Compile debug code lazily" 2022-12-15 14:59:13 +00:00
test-wasm-breakpoints.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-wasm-codegen.cc
test-wasm-import-wrapper-cache.cc [wasm] Do not validate asm.js code 2022-12-13 17:46:59 +00:00
test-wasm-metrics.cc [wasm] Remove thread timings (CPU time) 2022-12-09 12:11:22 +00:00
test-wasm-serialization.cc [wasm][test][cleanup] Use more base::Vector 2023-02-03 09:37:34 +00:00
test-wasm-shared-engine.cc [wasm][test][cleanup] Use more base::Vector 2023-02-03 09:37:34 +00:00
test-wasm-stack.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
test-wasm-strings.cc [stringrefs] Add generalized UTF-8 decoder / validator 2022-05-20 08:05:04 +00:00
test-wasm-trap-position.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
wasm-atomics-utils.h [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
wasm-run-utils.cc Reland "[wasm-gc] Introduce wasm null object" 2023-02-07 11:19:47 +00:00
wasm-run-utils.h Various post-Code rename cleanups 2023-01-18 16:26:26 +00:00
wasm-simd-utils.cc Reland "[wasm][test] Remove useless macro" 2023-01-13 10:45:30 +00:00
wasm-simd-utils.h [wasm-relaxed-simd][x64] Prototype relaxed min and max 2021-10-21 00:58:24 +00:00