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

Issue 2626253002: [wasm] Set and store breakpoints in wasm (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] Set and store breakpoints in wasm Store breakpoint positions in the WasmSharedModuleData in order to set them on new instantiations. Also redirect them to all live instances at the time the breakpoint is set. Inside the WasmDebugInfo, we store the BreakPointInfo objects to find hit breakpoints. R=titzer@chromium.org, yangguo@chromium.org BUG=v8:5822 Review-Url: https://codereview.chromium.org/2626253002 Cr-Commit-Position: refs/heads/master@{#42443} Committed: https://chromium.googlesource.com/v8/v8/+/2f3de27e1142aa0d5d1b5fe82c5c632786390c8a

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Patch Set 3 : Define function only in debug #

Total comments: 2

Patch Set 4 : Revert most changes in src/debug #

Patch Set 5 : Minor #

Total comments: 2

Patch Set 6 : Remove CheckBreakPoints methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+344 lines, -25 lines) Patch
M src/debug/debug.cc View 1 2 3 4 5 3 chunks +12 lines, -20 lines 0 comments Download
M src/factory.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 1 chunk +2 lines, -5 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 2 3 4 5 6 chunks +22 lines, -0 lines 0 comments Download
M src/wasm/wasm-objects.cc View 1 2 3 4 5 8 chunks +292 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (31 generated)
Clemens Hammacher
3 years, 11 months ago (2017-01-12 15:22:19 UTC) #5
titzer
https://codereview.chromium.org/2626253002/diff/1/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2626253002/diff/1/src/debug/debug.cc#newcode540 src/debug/debug.cc:540: break_points_hit = compiled_module->GetHitBreakpoints(location); Do you want to name this ...
3 years, 11 months ago (2017-01-12 15:51:20 UTC) #8
Clemens Hammacher
https://codereview.chromium.org/2626253002/diff/1/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2626253002/diff/1/src/debug/debug.cc#newcode540 src/debug/debug.cc:540: break_points_hit = compiled_module->GetHitBreakpoints(location); On 2017/01/12 at 15:51:20, titzer wrote: ...
3 years, 11 months ago (2017-01-12 19:55:51 UTC) #11
titzer
On 2017/01/12 19:55:51, Clemens Hammacher wrote: > https://codereview.chromium.org/2626253002/diff/1/src/debug/debug.cc > File src/debug/debug.cc (right): > > https://codereview.chromium.org/2626253002/diff/1/src/debug/debug.cc#newcode540 ...
3 years, 11 months ago (2017-01-13 16:55:55 UTC) #18
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/2626253002/40001
3 years, 11 months ago (2017-01-13 16:56:06 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/32349)
3 years, 11 months ago (2017-01-13 16:59:56 UTC) #22
Clemens Hammacher
Yang, PTAL on src/debug stuff, maybe also src/.
3 years, 11 months ago (2017-01-16 09:13:00 UTC) #23
Yang
https://codereview.chromium.org/2626253002/diff/40001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2626253002/diff/40001/src/debug/debug.cc#newcode539 src/debug/debug.cc:539: wasm_frame->wasm_instance()->compiled_module(), isolate_); Does any of the logic in Debug::Break ...
3 years, 11 months ago (2017-01-16 15:34:18 UTC) #24
Clemens Hammacher
https://codereview.chromium.org/2626253002/diff/40001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2626253002/diff/40001/src/debug/debug.cc#newcode539 src/debug/debug.cc:539: wasm_frame->wasm_instance()->compiled_module(), isolate_); On 2017/01/16 at 15:34:17, Yang wrote: > ...
3 years, 11 months ago (2017-01-16 16:17:27 UTC) #30
Yang
On 2017/01/16 16:17:27, Clemens Hammacher wrote: > https://codereview.chromium.org/2626253002/diff/40001/src/debug/debug.cc > File src/debug/debug.cc (right): > > https://codereview.chromium.org/2626253002/diff/40001/src/debug/debug.cc#newcode539 ...
3 years, 11 months ago (2017-01-16 16:21:25 UTC) #31
Clemens Hammacher
On 2017/01/16 at 16:21:25, yangguo wrote: > On 2017/01/16 16:17:27, Clemens Hammacher wrote: > > ...
3 years, 11 months ago (2017-01-16 18:53:56 UTC) #34
Yang
https://codereview.chromium.org/2626253002/diff/80001/src/wasm/wasm-objects.h File src/wasm/wasm-objects.h (right): https://codereview.chromium.org/2626253002/diff/80001/src/wasm/wasm-objects.h#newcode398 src/wasm/wasm-objects.h:398: MaybeHandle<FixedArray> CheckBreakPoints(const BreakLocation& location); Is this called from anywhere?
3 years, 11 months ago (2017-01-17 13:46:41 UTC) #35
Clemens Hammacher
https://codereview.chromium.org/2626253002/diff/80001/src/wasm/wasm-objects.h File src/wasm/wasm-objects.h (right): https://codereview.chromium.org/2626253002/diff/80001/src/wasm/wasm-objects.h#newcode398 src/wasm/wasm-objects.h:398: MaybeHandle<FixedArray> CheckBreakPoints(const BreakLocation& location); On 2017/01/17 at 13:46:41, Yang ...
3 years, 11 months ago (2017-01-17 14:25:11 UTC) #36
Yang
On 2017/01/17 14:25:11, Clemens Hammacher wrote: > https://codereview.chromium.org/2626253002/diff/80001/src/wasm/wasm-objects.h > File src/wasm/wasm-objects.h (right): > > https://codereview.chromium.org/2626253002/diff/80001/src/wasm/wasm-objects.h#newcode398 ...
3 years, 11 months ago (2017-01-18 09:51:24 UTC) #37
Clemens Hammacher
On 2017/01/18 at 09:51:24, yangguo wrote: > On 2017/01/17 14:25:11, Clemens Hammacher wrote: > > ...
3 years, 11 months ago (2017-01-18 10:00:41 UTC) #40
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/2626253002/100001
3 years, 11 months ago (2017-01-18 10:26:45 UTC) #45
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 10:28:47 UTC) #48
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/2f3de27e1142aa0d5d1b5fe82c5c6327863...

Powered by Google App Engine
This is Rietveld 408576698