v8/test/unittests/wasm
Bill Budge 0818d13807 [compiler][wasm] Fix Wasm linkage
- Fixes a problem when constructing Wasm CallDescriptors, where the
  allocation tries to treat parameters and returns as if they are in the
  same frame. This doesn't work when slots may be aligned in their
  frame. Instead, allocate parameters and returns separately and offset
  return slots by the number of parameter slots.
- Adds argument slot padding in the CallDescriptor lowering case, to
  prepare for when 32 bit targets align stack frames and require
  padding.
- Adds a regression test.

Bug: chromium:1174500
Change-Id: I60d96a94b171a0d27ff61cbab35623976b0c6da8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2683024
Commit-Queue: Bill Budge <bbudge@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72588}
2021-02-09 15:13:40 +00:00
..
control-transfer-unittest.cc [wasm][cleanup] Rename kLocal<type> constants -> k<type>Code 2020-09-29 08:48:21 +00:00
decoder-unittest.cc [wasm] Simplify LEB decoding 2020-10-08 13:58:01 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
function-body-decoder-unittest.cc [wasm][eh] Fix catch_all encoding 2021-02-04 14:36:24 +00:00
leb-helper-unittest.cc [wasm] Rename {ValidateFlag} constants 2020-09-30 13:19:03 +00:00
loop-assignment-analysis-unittest.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
module-decoder-memory64-unittest.cc [wasm][memory64] Start implementing the memory64 proposal 2020-09-24 09:38:08 +00:00
module-decoder-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
simd-shuffle-unittest.cc [wasm-simd][liftoff][x64] Optimize shuffles (swizzles) 2020-08-04 17:03:05 +00:00
streaming-decoder-unittest.cc [wasm] Pass correct code section start in streaming compilation 2020-11-30 17:02:11 +00:00
subtyping-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
trap-handler-posix-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
trap-handler-win-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
trap-handler-x64-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
wasm-code-manager-unittest.cc [wasm][test] Various test cleanups 2021-02-01 07:57:35 +00:00
wasm-compiler-unittest.cc [compiler][wasm] Fix Wasm linkage 2021-02-09 15:13:40 +00:00
wasm-gdbserver-unittest.cc [wasm] [debugging] Fix --wasm-gdb-remote 2020-12-08 19:37:25 +00:00
wasm-macro-gen-unittest.cc [test][cleanup] Rename WASM_*_GLOBAL to WASM_GLOBAL_* 2020-12-17 21:26:54 +00:00
wasm-module-builder-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
wasm-module-sourcemap-unittest.cc Add source map support of WasmModule 2019-08-26 15:19:02 +00:00