• 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
..
BUILD.gn Loading commit data...
code-size-factors.py Loading commit data...
module-inspector.cc Loading commit data...
update-wasm-fuzzers.sh Loading commit data...
update-wasm-spec-tests.sh Loading commit data...
wasm-import-profiler-end.js Loading commit data...
wasm-import-profiler.js Loading commit data...