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

Issue 2629883002: [wasm] Add tests for breakpoints (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] Add tests for breakpoints Test that setting breakpoints works for wasm, and that they are hit correctly. This basically tests all the layers involved: Compiling and running wasm interpreter entries, passing arguments to the interpreter, storing break point infos in wasm objects, getting the right BreakLocation from wasm frames, and getting stack information from interpreted frames. BUG=v8:5822 R=titzer@chromium.org, yangguo@chromium.org Review-Url: https://codereview.chromium.org/2629883002 Cr-Commit-Position: refs/heads/master@{#42560} Committed: https://chromium.googlesource.com/v8/v8/+/a1e04ef524e9705da304acd0023e28602d0af978

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix bug in wasm-debug.cc #

Total comments: 8

Patch Set 4 : Address comments #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Total comments: 2

Patch Set 8 : Remove test for argument passing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -9 lines) Patch
M src/wasm/wasm-debug.cc View 1 2 3 4 1 chunk +6 lines, -7 lines 0 comments Download
M test/cctest/wasm/test-wasm-breakpoints.cc View 1 2 3 4 5 6 7 3 chunks +120 lines, -0 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 5 6 4 chunks +26 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 45 (34 generated)
Clemens Hammacher
3 years, 11 months ago (2017-01-13 13:00:44 UTC) #9
Clemens Hammacher
Ignore red bots, will rebase before landing.
3 years, 11 months ago (2017-01-16 13:28:14 UTC) #16
titzer
https://codereview.chromium.org/2629883002/diff/40001/src/wasm/wasm-debug.cc File src/wasm/wasm-debug.cc (right): https://codereview.chromium.org/2629883002/diff/40001/src/wasm/wasm-debug.cc#newcode40 src/wasm/wasm-debug.cc:40: reinterpret_cast<byte *>(mem_buffer->backing_store()); byte* instead of byte * (I guess ...
3 years, 11 months ago (2017-01-16 13:55:27 UTC) #17
Clemens Hammacher
Rebase still needed. https://codereview.chromium.org/2629883002/diff/40001/src/wasm/wasm-debug.cc File src/wasm/wasm-debug.cc (right): https://codereview.chromium.org/2629883002/diff/40001/src/wasm/wasm-debug.cc#newcode40 src/wasm/wasm-debug.cc:40: reinterpret_cast<byte *>(mem_buffer->backing_store()); On 2017/01/16 at 13:55:27, ...
3 years, 11 months ago (2017-01-16 18:51:31 UTC) #18
titzer
On 2017/01/16 18:51:31, Clemens Hammacher wrote: > Rebase still needed. Ok, I can't give the ...
3 years, 11 months ago (2017-01-17 09:48:37 UTC) #19
Yang
On 2017/01/17 09:48:37, titzer wrote: > On 2017/01/16 18:51:31, Clemens Hammacher wrote: > > Rebase ...
3 years, 11 months ago (2017-01-20 10:52:36 UTC) #28
titzer
https://codereview.chromium.org/2629883002/diff/120001/test/cctest/wasm/test-wasm-breakpoints.cc File test/cctest/wasm/test-wasm-breakpoints.cc (right): https://codereview.chromium.org/2629883002/diff/120001/test/cctest/wasm/test-wasm-breakpoints.cc#newcode192 test/cctest/wasm/test-wasm-breakpoints.cc:192: TEST(TestArgumentPassing) { Can you split this test up as ...
3 years, 11 months ago (2017-01-20 13:08:04 UTC) #33
Clemens Hammacher
https://codereview.chromium.org/2629883002/diff/120001/test/cctest/wasm/test-wasm-breakpoints.cc File test/cctest/wasm/test-wasm-breakpoints.cc (right): https://codereview.chromium.org/2629883002/diff/120001/test/cctest/wasm/test-wasm-breakpoints.cc#newcode192 test/cctest/wasm/test-wasm-breakpoints.cc:192: TEST(TestArgumentPassing) { On 2017/01/20 at 13:08:04, titzer wrote: > ...
3 years, 11 months ago (2017-01-20 13:15:41 UTC) #36
titzer
lgtm
3 years, 11 months ago (2017-01-20 13:28:56 UTC) #37
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/2629883002/120002
3 years, 11 months ago (2017-01-20 13:48:35 UTC) #42
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 13:50:19 UTC) #45
Message was sent while issue was closed.
Committed patchset #8 (id:120002) as
https://chromium.googlesource.com/v8/v8/+/a1e04ef524e9705da304acd0023e28602d0...

Powered by Google App Engine
This is Rietveld 408576698