v8/test/cctest/wasm
Santiago Aboy Solanes ae922188a4 [compiler] Add TSAN support for generated code movq and movl
We have to not have any instructions between EmitOOLTrapIfNeeded and the
movs. For this reason, we are now emitting EmitTSANStoreOOLIfNeeded
after the store rather than before.

We are also now requiring the code_kind to know if we are compiling a
FOR_TESTING function.

Finally, we have to differentiate between two different wasm-to-js
functions: one lives in the wasm code space, and another one lives on
the heap. The one that lives in wasm code space calls wasm stub calls,
and the other one calls the builtin like JS does.

Bug: v8:7790, v8:11600
Change-Id: Iafb4643068ae4e31881662e032f73af98a66baca
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2945185
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75077}
2021-06-10 13:37:55 +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-backing-store.cc [wasm] Move test-backing-store.cc to wasm directory 2021-03-03 13:07:01 +00:00
test-c-wasm-entry.cc [wasm] Allow execution while modifying code space 2021-04-19 15:09:46 +00:00
test-compilation-cache.cc Fix -Wc++11-narrowing in V8. 2021-06-09 22:47:37 +00:00
test-gc.cc [wasm-gc] Implement rtt.fresh_sub 2021-06-02 13:45:23 +00:00
test-grow-memory.cc [wasm][cleanup] Rename WASM_GROW_MEMORY to WASM_MEMORY_GROW 2021-03-17 14:37:34 +00:00
test-jump-table-assembler.cc ppc/s390: replace LoadP with LoadU64 2021-05-15 13:35:08 +00:00
test-liftoff-for-fuzzing.cc [wasm][liftoff] Add step counter in Liftoff 2021-06-08 15:02:36 +00:00
test-liftoff-inspection.cc [wasm-simd] Remove simd lowering compilation env variable 2021-04-22 23:40:58 +00:00
test-run-wasm-64.cc [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +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 Fix -Wc++11-narrowing in V8. 2021-06-09 22:47:37 +00:00
test-run-wasm-exceptions.cc Fix -Wc++11-narrowing in V8. 2021-06-09 22:47:37 +00:00
test-run-wasm-interpreter.cc [wasm][cleanup] Rename WASM_GROW_MEMORY to WASM_MEMORY_GROW 2021-03-17 14:37:34 +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] Fix typing of memory.grow 2021-03-19 13:51:23 +00:00
test-run-wasm-module.cc [compiler] Add TSAN support for generated code movq and movl 2021-06-10 13:37:55 +00:00
test-run-wasm-relaxed-simd.cc [wasm-simd] Remove simd lowering compilation env variable 2021-04-22 23:40:58 +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 [wasm-simd] Remove simd lowering compilation env variable 2021-04-22 23:40:58 +00:00
test-run-wasm-simd.cc Fix -Wc++11-narrowing in V8. 2021-06-09 22:47:37 +00:00
test-run-wasm-wrappers.cc [runtime] Rename Builtins::Name to Builtin 1/2 2021-06-07 20:05:44 +00:00
test-run-wasm.cc Fix -Wc++11-narrowing in V8. 2021-06-09 22:47:37 +00:00
test-streaming-compilation.cc [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +00:00
test-wasm-breakpoints.cc [debug][cleanup] Use consistent StepInto and StepOver naming. 2021-06-01 11:26:57 +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 Revert "[wasm] Add CPU time metrics" 2021-04-09 16:01:12 +00:00
test-wasm-serialization.cc [wasm][cleanup] Hold wasm engine in a raw pointer 2021-04-28 15:08:10 +00:00
test-wasm-shared-engine.cc [wasm][cleanup] Hold wasm engine in a raw pointer 2021-04-28 15:08:10 +00:00
test-wasm-stack.cc [api] Add StackFrame GetScriptSource and GetScriptSourceMappingURL 2021-03-03 06:37:44 +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][liftoff] Add step counter in Liftoff 2021-06-08 15:02:36 +00:00
wasm-run-utils.h [wasm][liftoff] Add step counter in Liftoff 2021-06-08 15:02:36 +00:00
wasm-simd-utils.cc [wasm-simd] Remove simd lowering compilation env variable 2021-04-22 23:40:58 +00:00
wasm-simd-utils.h [wasm-simd] Remove simd lowering compilation env variable 2021-04-22 23:40:58 +00:00