• Eric Leese's avatar
    Report real module in addition to fake scripts · 6ec6ed9c
    Eric Leese authored
    Currently the inspector reports Wasm in one of two ways:
     - If there is a source map, report one script per Wasm script, with
       bytecode but no source.
     - If there is no source map, report one script per Wasm function, with
       source (Wasm disassembly) but no bytecode.
    
    With this change, behavior with source map is same, but without source
    map it will report both ways. This will allow us to change the frontend
    to do its own disassembly, allowing us to remove the per-function scripts
    in a future change.
    
    Bug: chromium:1013527
    Change-Id: I0c559ad08896e8d0da419e3c6ad8d1edff3976fc
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1899782Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Eric Leese <leese@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64980}
    6ec6ed9c
Name
Last commit
Last update
..
console Loading commit data...
cpu-profiler Loading commit data...
debugger Loading commit data...
heap-profiler Loading commit data...
runtime Loading commit data...
runtime-call-stats Loading commit data...
sessions Loading commit data...
type-profiler Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
inspector-test.cc Loading commit data...
inspector.status Loading commit data...
isolate-data.cc Loading commit data...
isolate-data.h Loading commit data...
json-parse-expected.txt Loading commit data...
json-parse.js Loading commit data...
protocol-test.js Loading commit data...
task-runner.cc Loading commit data...
task-runner.h Loading commit data...
testcfg.py Loading commit data...