v8/test/inspector/cpu-profiler/console-profile-asm-js-expected.txt
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

10 lines
310 B
Plaintext

Test console profiles for asm.js.
testEnableProfilerEarly
Compiling asm.js module with sentinel 0.
testEnableProfilerLate
Compiling asm.js module with sentinel 1.
testEnableProfilerAfterDebugger
Compiling asm.js module with sentinel 2.
testEnableProfilerBeforeDebugger
Compiling asm.js module with sentinel 3.