v8/test/cctest/wasm
Clemens Backes 75931f18ee [wasm] Extend debug side table for registers
This extends the debug side table to also store register locations in
addition to constants and stack values.
Previously, every value that was not constant was assumed to be spilled
to the stack. This made sense, because without breakpoints we would only
emit debug side table entries at call sites, where all registers are
spilled.
With breakpoints, this changes. At break locations, values might be live
in registers.

The logic to decide whether a value will live in the register or on the
stack is extended, because we sometimes generate the debug side table
entry at a point where the registers are not spilled yet. The debug side
table entry creation needs to account for that, and assume that these
registers will still be spilled.

R=thibaudm@chromium.org

Bug: v8:10147, v8:10222
Change-Id: I3b020dfaa29fc007047663706ee286180a996bfd
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2066960
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66407}
2020-02-24 13:29:06 +00:00
..
OWNERS [wasm] Update OWNERS 2020-01-08 14:56:06 +00:00
test-c-wasm-entry.cc [wasm-c-api] Faster C-to-Wasm entry 2019-06-27 13:39:48 +00:00
test-compilation-cache.cc Reland "Reland "[wasm] Cache streaming compilation result"" 2020-02-03 13:49:18 +00:00
test-grow-memory.cc Reland x6 [arraybuffer] Rearchitect backing store ownership 2019-09-09 13:07:42 +00:00
test-jump-table-assembler.cc [codegen] Reduce kMinimalBufferSize and add kDefaultBufferSize 2019-11-14 15:05:31 +00:00
test-liftoff-inspection.cc [wasm] Extend debug side table for registers 2020-02-24 13:29:06 +00:00
test-run-wasm-64.cc [wasm] Remove flag for saturating conversions flag 2019-12-09 11:24:27 +00:00
test-run-wasm-asmjs.cc [Liftoff] List unsupported opcodes explicitly 2019-05-29 09:47:28 +00:00
test-run-wasm-atomics64.cc [turbofan] Don't assume that Word32AtomicPairCompareExchange has a projection-0 2020-02-04 19:47:37 +00:00
test-run-wasm-atomics.cc Make atomic operations effectful. 2019-07-31 16:12:04 +00:00
test-run-wasm-bulk-memory.cc [wasm][bulk-memory] Adjust bulk memory behavior to proposal phase 4 2019-12-03 12:21:48 +00:00
test-run-wasm-exceptions.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
test-run-wasm-interpreter.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
test-run-wasm-js.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
test-run-wasm-module.cc [wasm] Remove disassembly support 2020-01-17 10:05:28 +00:00
test-run-wasm-sign-extension.cc [wasm] Remove Sign Extension flag, and helper functions 2019-12-06 13:14:44 +00:00
test-run-wasm-simd-liftoff.cc Reland "[wasm-simd][liftoff] Check CpuFeatures for SIMD support" 2020-02-03 19:43:09 +00:00
test-run-wasm-simd.cc [wasm-simd] Scalar lowering for load extends 2020-02-21 03:22:38 +00:00
test-run-wasm.cc [wasm] Remove flag for saturating conversions flag 2019-12-09 11:24:27 +00:00
test-streaming-compilation.cc [wasm-debug] Let wasm scripts report correct column information. 2020-01-22 14:12:06 +00:00
test-wasm-breakpoints.cc Reland "[wasm] Prevent breakpoints on nonbreakable positions" 2019-11-21 12:33:43 +00:00
test-wasm-codegen.cc [wasm] Deprecate unused {DeserializeOrCompile} API 2020-01-22 08:46:23 +00:00
test-wasm-import-wrapper-cache.cc Reland "[wasm] Share native modules compiled from the same bytes" 2019-12-18 14:40:28 +00:00
test-wasm-interpreter-entry.cc [cleanup] Eliminate non-const reference parameters 2019-09-10 09:31:07 +00:00
test-wasm-serialization.cc [wasm] De-flake deserializer test 2020-01-23 11:03:18 +00:00
test-wasm-shared-engine.cc [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
test-wasm-stack.cc [wasm][debug] Add test case to check if wasm stack trace contains url 2020-02-20 09:01:18 +00:00
test-wasm-trap-position.cc V8 Wasm locations should always be based on byte offsets 2019-11-05 14:53:45 +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] Extend debug side table for registers 2020-02-24 13:29:06 +00:00
wasm-run-utils.h [wasm] Extend debug side table for registers 2020-02-24 13:29:06 +00:00