v8/test
Clemens Backes ab4d9717f2 [wasm] Pass the script ID to code logging
We didn't pass a script ID with the code creation events for profiling.
This made DevTools lose the connection to the wasm script, hence
jumping from the profiler entry to the source did not work.

This CL changes the timing of code logging a bit such that the script is
always allocated before logging. In the queue of code to be logged we
then also store the script ID, and finally set it on the {CodeEntry}
object.

R=thibaudm@chromium.org

Bug: chromium:1125986
Change-Id: I2248c1d520bc819436bbe732373f7a3446b64f48
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2575057
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71654}
2020-12-08 12:14:54 +00:00
..
benchmarks [tools] Mark raytrace as slow everywhere 2020-12-03 17:05:14 +00:00
cctest [wasm] Pass the script ID to code logging 2020-12-08 12:14:54 +00:00
common [wasm][eh] Revert to catch with tag immediate 2020-12-03 18:55:31 +00:00
debugger [debug] Mark side-effect free builtins and intrinsics as such. 2020-11-30 16:10:44 +00:00
debugging Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
fuzzer [wasm-gc] read_heap_type should check if index is in module bounds 2020-12-02 16:52:51 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [wasm] Pass the script ID to code logging 2020-12-08 12:14:54 +00:00
intl [intl] Clean up intl_segmenter flag 2020-12-08 10:01:23 +00:00
js-perf-test [super] Rewrite perf tests 2020-11-16 08:36:24 +00:00
memory Reland^4 "[serializer] Allocate during deserialization" 2020-10-07 08:15:50 +00:00
message [wasm][eh] Revert to catch with tag immediate 2020-12-03 18:55:31 +00:00
mjsunit [TurboProp] Fix dynamic check maps register saving on x64 2020-12-07 10:03:25 +00:00
mkgrokdump Replace libc functions with base wrappers 2020-11-17 08:50:41 +00:00
mozilla [Respect] Prefer inclusive terms 2020-06-22 18:11:23 +00:00
test262 [intl] Clean up intl_segmenter flag 2020-12-08 10:01:23 +00:00
torque [torque] introduce const slices 2020-11-30 11:28:15 +00:00
unittests [compiler][wasm] Align Frame slots to value size 2020-12-07 13:49:48 +00:00
wasm-api-tests wasm/c-api: fix the index of StackTraceFrame 2020-10-13 07:34:26 +00:00
wasm-js [wasm] Update spec tests 2020-11-12 13:08:55 +00:00
wasm-spec-tests [wasm] Introduce <bot> type for unreachable br_table again 2020-11-18 15:02:05 +00:00
webkit Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
BUILD.gn [turbofan] Make OSR and stack slots compatible 2020-10-05 17:41:02 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00