v8/tools/wasm
Jakob Kummerow d180d40d28 [wasm][devtools] Fix reported function body offsets
The DevTools frontend doesn't want the Wasm module's understanding of
function body offsets (i.e. including locals), but the ranges of
offsets where breakpoints can be set (i.e. only where instructions are).
This patch adjusts the reported offsets accordingly.
A consequence is that we have to report full (start,end) pairs for each
function, instead of being able to dedupe end1==start2 etc.

Bug: v8:12917
Change-Id: I0c7d2d96435cdac2c4553647b7bcc8783bc1798b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3780526
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81887}
2022-07-22 10:08:32 +00:00
..
BUILD.gn [tools][wasm] Add "wami", the Wasm Module Inspector 2022-07-05 04:45:28 +00:00
code-size-factors.py [wasm] Tweak constants for estimating code space size 2022-03-15 14:41:13 +00:00
module-inspector.cc [wasm][devtools] Fix reported function body offsets 2022-07-22 10:08:32 +00:00
update-wasm-fuzzers.sh [wasm] Update and run script to generate fuzzer corpus 2020-12-01 16:21:51 +00:00
update-wasm-spec-tests.sh [wasm] Remove SIMD proposal tests 2022-04-28 05:22:59 +00:00
wasm-import-profiler-end.js [wasm/tools] Add import profiler 2018-11-22 15:36:21 +00:00
wasm-import-profiler.js [wasm/tools] Add import profiler 2018-11-22 15:36:21 +00:00