Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Issue 2629823003: [wasm] Implement frame inspection for interpreted frames (Closed)

Created:
3 years, 11 months ago by Clemens Hammacher
Modified:
3 years, 11 months ago
Reviewers:
titzer, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Implement frame inspection for interpreted frames Frame inspection is currently limited to locations of execution. Further details like local variables or stack content will follow later. The FrameInspector now stores a pointer to the interpreted wasm frame, and redirects certain requests there, just as for deoptimized frames. Hitting breakpoints is now also supported for wasm frames. R=yangguo@chromium.org, titzer@chromium.org BUG=v8:5822 Review-Url: https://codereview.chromium.org/2629823003 Cr-Commit-Position: refs/heads/master@{#42551} Committed: https://chromium.googlesource.com/v8/v8/+/09525c8f90f2bc307e080e3a1fea0b804a77d11d

Patch Set 1 #

Patch Set 2 : Let's see whether this include makes Windows happy #

Patch Set 3 : Try adding forward declaration for VS #

Patch Set 4 : Document that the forward declaration is only needed for VS #

Total comments: 4

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase on Yangs latest change #

Patch Set 8 : Rebase after Yangs revert ಠ益ಠ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -96 lines) Patch
M src/debug/debug.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -4 lines 0 comments Download
M src/debug/debug-frames.h View 2 chunks +7 lines, -1 line 0 comments Download
M src/debug/debug-frames.cc View 1 2 3 4 5 6 3 chunks +18 lines, -11 lines 0 comments Download
M src/frames.cc View 1 2 3 4 5 2 chunks +10 lines, -3 lines 0 comments Download
M src/runtime/runtime-wasm.cc View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M src/wasm/managed.h View 1 2 3 4 1 chunk +7 lines, -4 lines 0 comments Download
M src/wasm/wasm-debug.cc View 1 2 3 4 7 5 chunks +106 lines, -10 lines 0 comments Download
M src/wasm/wasm-interpreter.h View 1 2 3 4 5 6 3 chunks +14 lines, -18 lines 0 comments Download
M src/wasm/wasm-interpreter.cc View 1 2 3 4 5 6 4 chunks +52 lines, -35 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 2 3 4 3 chunks +14 lines, -2 lines 0 comments Download
M src/wasm/wasm-objects.cc View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 45 (35 generated)
Clemens Hammacher
3 years, 11 months ago (2017-01-13 13:00:01 UTC) #13
titzer
https://codereview.chromium.org/2629823003/diff/60001/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (right): https://codereview.chromium.org/2629823003/diff/60001/src/wasm/wasm-interpreter.cc#newcode1049 src/wasm/wasm-interpreter.cc:1049: Frame* fr = &frames_[index]; Might as well spell out ...
3 years, 11 months ago (2017-01-16 10:18:25 UTC) #16
Clemens Hammacher
https://codereview.chromium.org/2629823003/diff/60001/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (right): https://codereview.chromium.org/2629823003/diff/60001/src/wasm/wasm-interpreter.cc#newcode1049 src/wasm/wasm-interpreter.cc:1049: Frame* fr = &frames_[index]; On 2017/01/16 at 10:18:25, titzer ...
3 years, 11 months ago (2017-01-16 11:53:26 UTC) #17
titzer
On 2017/01/16 11:53:26, Clemens Hammacher wrote: > https://codereview.chromium.org/2629823003/diff/60001/src/wasm/wasm-interpreter.cc > File src/wasm/wasm-interpreter.cc (right): > > https://codereview.chromium.org/2629823003/diff/60001/src/wasm/wasm-interpreter.cc#newcode1049 ...
3 years, 11 months ago (2017-01-16 12:01:18 UTC) #18
Clemens Hammacher
> WASM part LGTM @Yang: This is the next CL in the sequence, PTAL.
3 years, 11 months ago (2017-01-19 15:04:31 UTC) #27
Yang
On 2017/01/19 15:04:31, Clemens Hammacher wrote: > > WASM part LGTM > > @Yang: This ...
3 years, 11 months ago (2017-01-20 10:51:17 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2629823003/100001
3 years, 11 months ago (2017-01-20 10:54:24 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/15544) v8_linux_gcc_compile_rel on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-20 10:57:54 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2629823003/140001
3 years, 11 months ago (2017-01-20 12:18:18 UTC) #42
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 12:58:20 UTC) #45
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/v8/v8/+/09525c8f90f2bc307e080e3a1fea0b804a7...

Powered by Google App Engine
This is Rietveld 408576698