v8/test
Manos Koukoutos 797e4afefe [wasm] Support reftypes tables in WasmModuleBuilder
WasmModuleBuilder is a class that is used to build Wasm modules in the
asm.js parser, in the fuzzer, as well as some tests. When it comes to
Wasm tables, WasmModuleBuilder currently supports only basic tables
(before the reftypes proposal) using an ad-hoc indirect-function index
vector.
This CL adds proper support for element sections and tables that use
them in the full potential of the reftypes extension. The new
functionality will only be used in the fuzzer and potentially some tests
in the future. Along this, we drop some functionality from
WasmModuleBuilder that was only used in tests and is redundant with the
new architecture.
Additionally, we remove tables other than externref and funcref from the
fuzzer (which were not supported properly or used anyway). We will
reintroduce them at a later time.

Bug: v8:11954
Change-Id: I0a4f6e7b63b6e3d9f7da03b5202fbf14d8678332
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3122162
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76597}
2021-08-31 10:02:19 +00:00
..
benchmarks [test] Mark pdfjs as slow for TSAN builds 2021-07-28 14:03:46 +00:00
bigint [bigint] Faster parsing from long strings 2021-08-20 10:54:34 +00:00
cctest [wasm] Support reftypes tables in WasmModuleBuilder 2021-08-31 10:02:19 +00:00
common Reland "[arm64][wasm] Use NEON S/Usra for Wasm SIMD add(shr(x, imm), y)" 2021-08-17 09:27:26 +00:00
debugger [compiler][test] Remove --block-concurrent-recompilation 2021-08-16 10:15:53 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wasm] Support reftypes tables in WasmModuleBuilder 2021-08-31 10:02:19 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [sandbox] Disallow ArrayBuffers outside the VM Cage 2021-08-25 09:52:38 +00:00
intl [mjsunit] Fix intl test when LC_MESSAGES is set 2021-08-24 10:10:12 +00:00
js-perf-test [class] add microbenchmark for evaluating classes with fields 2021-08-26 10:07:59 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message Skip {map,set}-grow-failed tests on more slow bots 2021-08-18 07:05:30 +00:00
mjsunit Add regression test for crrev.com/c/2928509 2021-08-30 16:44:15 +00:00
mkgrokdump [sandbox] Disallow ArrayBuffers outside the VM Cage 2021-08-25 09:52:38 +00:00
mozilla Reland "[test] Unmark TSAN tests as SLOW/SKIP" 2021-06-28 10:19:20 +00:00
test262 [regexp] Early errors 🤯 2021-08-26 11:33:39 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests Revert "Reland "cppgc: Enable checks for assignments in prefinalizers"" 2021-08-30 08:16:22 +00:00
wasm-api-tests [wasm] Support reftypes tables in WasmModuleBuilder 2021-08-31 10:02:19 +00:00
wasm-js [wasm] Update wasm spec tests 2021-07-08 12:46:48 +00:00
wasm-spec-tests [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
webkit Revert "Reland "[build] Add V8-specific dcheck_always_on"" 2021-07-27 11:14:57 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS