• Ben Smith's avatar
    [wasm] Call OnAfterCompile when cloning Module · b7a7e2fb
    Ben Smith authored
    The debugger should be notified whenever a new Module is created so it
    displayed properly. Without this change, the Module is only displayed once,
    regardless of the number of times it is referenced (by other Workers, say).
    That is potentially reasonable behavior, but it doesn't match the way
    JavaScript does it.
    
    With this change, the debugger will display the sources like this:
    
    ```
    ▼ top
       localhost
      ▼ wasm
        ▼ wasm-82570336
            wasm-82570336-0
    
    ▼ worker.js
       localhost
      ▼ wasm
         wasm-82570336
    ```
    
    Change-Id: I61177e8a07e36ea8e2234aa25e75b1489c9da95f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1666616Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Ben Smith <binji@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62297}
    b7a7e2fb
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer 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...
preparser 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...