v8/test/wasm-api-tests
Clemens Backes cdd984ef48 Reland "[wasm] Ensure that only TurboFan code is serialized"
This is a reland of 60ee70bb40.
The wasm c-api flakes were fixed in https://crrev.com/c/2349293.

Original change's description:
> [wasm] Ensure that only TurboFan code is serialized
>
> We have the implicit assumption that Liftoff code will never be
> serialized, and we start relying on that when implementing new features
> (debugging, dynamic tiering).
>
> This CL makes the serializer fail if the module contains any Liftoff
> code. Existing tests are changed to ensure that we fully tiered up
> before serializing a module (similar to the logic in Chromium).
> The "wasm-clone-module" test needs to serialize the module before
> enabling the debugger.
>
> Note that chrome currently only serializes a module after it fully
> tiered up, so that should be fine. If other embedders need the ability
> to serialize a module in an arbitrary state, we will have to fix this
> later. With this CL we will be on the safe side though and (gracefully)
> fail serialization instead of accidentally serializing Liftoff code.
>
> R=ahaas@chromium.org
>
> Bug: v8:10777
> Change-Id: I1245e5f7fda3447a544c1e3525e1239cde759174
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2336799
> Commit-Queue: Clemens Backes <clemensb@chromium.org>
> Reviewed-by: Andreas Haas <ahaas@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#69276}

Bug: v8:10777
Change-Id: I2a7c1429812ca46d88a2902b8e0a7b7e3d638b56
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2349290
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69335}
2020-08-11 14:43:58 +00:00
..
BUILD.gn [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
callbacks.cc [wasm] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
DEPS
finalize.cc [wasm-c-api] Roll bf31edf: Fix life times of host info 2019-08-26 14:28:51 +00:00
globals.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
hostref.cc [wasm-gc] Refactoring in preparation of generalizing WasmInitExpr 2020-07-09 15:03:18 +00:00
memory.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
multi-return.cc [wasm-c-api] Roll 351b9b7: Support multiple return values 2019-08-20 14:48:14 +00:00
reflect.cc [wasm] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
run-all-wasm-api-tests.cc
serialize.cc Reland "[wasm] Ensure that only TurboFan code is serialized" 2020-08-11 14:43:58 +00:00
startup-errors.cc [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
table.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
testcfg.py [wasm-api-tests] initialize the loop variable 2020-06-10 15:39:58 +00:00
threads.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
traps.cc [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
wasm-api-test.h [zone-compr] Fix WasmCapiTest, pt.2 2020-07-31 08:05:18 +00:00
wasm-api-tests.status [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00