v8/test/cctest/wasm
Simon Zünd f16f0bccad [stack-trace] Change column number for wasm frames to module offset
The CL https://crrev.com/c/1646846 changed column numbers for Wasm
frames in Error.stack traces. Instead of using the offset relative to
the beginning of the function, the absolute offset inside the module
is displayed as hex.

This CL propagates that change to the StackTrace C++ API, so
StackFrame::GetColumn() also returns the absolute offset. Note that the
StackFrame API historically uses "0" to signal "no information", so the
line and column numbers for Wasm frames are also adjusted to 1-based,
even though they signify function index and absolute offset
into the module.

This CL does not touch Script::PositionInfo.column. That field still
contains the offset relative to the function start.

Bug: v8:8742
Change-Id: If4fd37fa681c7ebd0823ce0d95eccc1335c35272
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1655300
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Ben Titzer <titzer@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62171}
2019-06-14 11:33:18 +00:00
..
OWNERS Reduce wasm OWNERS to current team members 2018-10-15 14:47:49 +00:00
test-c-wasm-entry.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-jump-table-assembler.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
test-run-wasm-64.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +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 [wasm] Fix Int64-lowering to handle non-const index for I64Atomic ops 2019-04-11 21:10:40 +00:00
test-run-wasm-atomics.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-bulk-memory.cc [wasm][anyref] Cache export wrappers per signature 2019-05-22 14:59:50 +00:00
test-run-wasm-exceptions.cc [wasm][anyref] Cache export wrappers per signature 2019-05-22 14:59:50 +00:00
test-run-wasm-interpreter.cc [wasm][anyref] Cache export wrappers per signature 2019-05-22 14:59:50 +00:00
test-run-wasm-js.cc [wasm][anyref] Cache export wrappers per signature 2019-05-22 14:59:50 +00:00
test-run-wasm-module.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
test-run-wasm-sign-extension.cc [wasm] Unify all enums representing execution tiers 2018-08-21 15:45:18 +00:00
test-run-wasm-simd.cc Move code generation related files to src/codegen 2019-05-21 10:33:39 +00:00
test-run-wasm.cc [Liftoff] List unsupported opcodes explicitly 2019-05-29 09:47:28 +00:00
test-streaming-compilation.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-wasm-breakpoints.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
test-wasm-codegen.cc [wasm][cleanup] Using 'using' instead of 'typedef' 2019-03-29 10:20:30 +00:00
test-wasm-import-wrapper-cache.cc [wasm] Compile import wrappers in parallel 2019-05-27 09:36:55 +00:00
test-wasm-interpreter-entry.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-wasm-serialization.cc Move utility code to src/utils 2019-05-23 14:13:34 +00:00
test-wasm-shared-engine.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-wasm-stack.cc [stack-trace] Change column number for wasm frames to module offset 2019-06-14 11:33:18 +00:00
test-wasm-trap-position.cc [stack-trace] Change column number for wasm frames to module offset 2019-06-14 11:33:18 +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] Compile import wrappers in parallel 2019-05-27 09:36:55 +00:00
wasm-run-utils.h [cleanup] Avoid {Object::operator->} 2019-05-23 07:52:07 +00:00