• Benedikt Meurer's avatar
    [wasm][debug] Simplify debug name handling. · 1bd5755b
    Benedikt Meurer authored
    This moves the logic for the debug name heuristic, which derives names
    for imported and exported entities from the relevant tables, into
    wasm-debug.{cc,h} and stores these maps on the DebugInfoImpl rather than
    on the WasmModule.
    
    Drive-by-fix: Also use the import table based heuristic for function
    names, just like we use it for everything else.
    
    Bug: chromium:1164305
    Change-Id: I8a21e0880c680079f63e6607b5b62c788049b9e1
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2625870
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72061}
    1bd5755b
Name
Last commit
Last update
..
console Loading commit data...
counters Loading commit data...
cpu-profiler Loading commit data...
debugger Loading commit data...
heap-profiler Loading commit data...
regress 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...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
frontend-channel.h 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...
print-method-not-found-expected.txt Loading commit data...
print-method-not-found.js Loading commit data...
protocol-test.js Loading commit data...
task-runner.cc Loading commit data...
task-runner.h Loading commit data...
tasks.cc Loading commit data...
tasks.h Loading commit data...
testcfg.py Loading commit data...
utils.cc Loading commit data...
utils.h Loading commit data...
wasm-inspector-test.js Loading commit data...