v8/test/cctest/wasm
Thibaud Michaud 6e234e9d76 [wasm][liftoff][eh] Implement catch_all
Inline a catch handler after each potentially throwing call. The handler
just merges values into the actual catch environment and then jumps to
the catch body.

This automatically adds support for unwind, which also uses the
"CatchAll" interface method.

Many tests can be written either with "catch" or with "catch_all".
Duplicate them to get coverage for both.

R=clemensb@chromium.org

Bug: v8:11453
Change-Id: I789ad44b8d1e496f026157d5c37a12004a8b37e3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2726497
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73129}
2021-03-02 16:25:23 +00:00
..
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
test-c-wasm-entry.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-compilation-cache.cc Reland "Reland "[wasm] Cache streaming compilation result"" 2020-02-03 13:49:18 +00:00
test-gc.cc [wasm-gc] Enable rtt test in liftoff 2021-02-10 08:55:57 +00:00
test-grow-memory.cc [wasm][fuzzer] Merge redundant functions 2020-08-11 12:30:53 +00:00
test-jump-table-assembler.cc Add RISC-V backend 2021-02-09 17:06:36 +00:00
test-liftoff-inspection.cc [wasm] Store full type in the debug side table 2021-02-26 09:10:11 +00:00
test-run-wasm-64.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
test-run-wasm-asmjs.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-atomics64.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-atomics.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-bulk-memory.cc [wasm] Remove bulk-memory flag 2021-01-12 15:28:39 +00:00
test-run-wasm-exceptions.cc [wasm][liftoff][eh] Implement catch_all 2021-03-02 16:25:23 +00:00
test-run-wasm-interpreter.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-js.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-memory64.cc [wasm][memory64] Test executing memory.size 2021-01-21 13:06:11 +00:00
test-run-wasm-module.cc [wasm] Remove bulk-memory flag 2021-01-12 15:28:39 +00:00
test-run-wasm-sign-extension.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-simd-liftoff.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
test-run-wasm-simd-scalar-lowering.cc Reland "[wasm-simd] Merge all any_true to v128.any_true" 2021-02-01 19:54:18 +00:00
test-run-wasm-simd.cc [wasm-simd] Remove signselect 2021-02-26 21:27:32 +00:00
test-run-wasm-wrappers.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
test-streaming-compilation.cc [wasm] Fix tier down on streaming with error 2021-01-26 17:00:53 +00:00
test-wasm-breakpoints.cc [wasm] Move ValueKind out of ValueType 2021-02-22 10:52:50 +00:00
test-wasm-codegen.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-wasm-import-wrapper-cache.cc [wasm] Faster wasm-to-js calls with arguments mismatch 2020-07-28 15:53:21 +00:00
test-wasm-metrics.cc [wasm] Initialize compile job early 2020-12-15 09:43:14 +00:00
test-wasm-serialization.cc [wasm][serialization] Skip redundant information 2021-01-26 15:07:20 +00:00
test-wasm-shared-engine.cc [wasm] Allow specifying larger code space limits 2020-08-28 16:25:36 +00:00
test-wasm-stack.cc [stack-traces] Simplify and speedup stack trace collection. 2021-02-12 13:49:27 +00:00
test-wasm-trap-position.cc [wasm] Remove interpreter entry code 2020-05-05 11:18:05 +00:00
wasm-atomics-utils.h [wasm][cleanup] Using 'using' instead of 'typedef' 2019-03-29 10:20:30 +00:00
wasm-run-utils.cc [wasm][turbofan] Implement loop unrolling for wasm 2021-02-24 14:44:24 +00:00
wasm-run-utils.h [wasm][debug] Generate debug sidetable from code alone 2021-02-04 13:25:53 +00:00