• Jakob Kummerow's avatar
    [wasm][devtools] Fix reported function body offsets · d180d40d
    Jakob Kummerow authored
    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: 's avatarPhilip Pfaffe <pfaffe@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81887}
    d180d40d
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...