1. 17 Feb, 2020 1 commit
  2. 09 Jan, 2020 1 commit
  3. 15 Nov, 2019 1 commit
    • 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
  4. 31 Oct, 2019 1 commit
  5. 08 Oct, 2019 1 commit
  6. 19 Jun, 2019 1 commit
    • 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
        :arrow_forward: localhost
        ▼ wasm
          ▼ wasm-82570336
              wasm-82570336-0
      
      ▼ worker.js
        :arrow_forward: localhost
        ▼ wasm
          :arrow_forward: 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