v8/test/inspector/cpu-profiler
Clemens Backes 3b21b6d31d [profiler] Allow empty source URL for asm modules
In contrast to wasm modules, asm.js modules have an empty source URL.
Thus loosen a DCHECK and handle the nullptr source_url correctly.
Also add regression tests that check that we don't crash. Those can
later be extended to check that the profile looks as expected; for now
they only check that we terminate.

R=bmeurer@chromium.org

Bug: chromium:1185919
Change-Id: I6b879f540a2c3647920ad2970efcf7c94712d8c7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2745895
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73313}
2021-03-10 09:49:02 +00:00
..
console-profile-asm-js-expected.txt [profiler] Allow empty source URL for asm modules 2021-03-10 09:49:02 +00:00
console-profile-asm-js.js [profiler] Allow empty source URL for asm modules 2021-03-10 09:49:02 +00:00
console-profile-end-parameterless-crash-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-end-parameterless-crash.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-profile-wasm-expected.txt [wasm][profiler] Report source URL and position 2020-12-10 13:20:08 +00:00
console-profile-wasm.js [compiler] Re-reland "Faster JS-to-Wasm calls" 2021-02-05 09:41:30 +00:00
console-profile.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
coverage-block-expected.txt [coverage] Report timestamp on coverage updates 2020-01-10 14:11:51 +00:00
coverage-block.js [inspector] Make collectGarbage of HeapProfiler precise 2020-08-18 07:24:14 +00:00
coverage-expected.txt [coverage] Report timestamp on coverage updates 2020-01-10 14:11:51 +00:00
coverage.js [inspector] Make collectGarbage of HeapProfiler precise 2020-08-18 07:24:14 +00:00
enable-disable-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
enable-disable.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
record-cpu-profile-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
record-cpu-profile.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
stop-without-preceeding-start-expected.txt Fix common misspellings 2017-08-02 09:35:28 +00:00
stop-without-preceeding-start.js Fix common misspellings 2017-08-02 09:35:28 +00:00