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

Issue 2194493002: DBC: Fix not-stopping/crashing at fast Smi op breakpoints. (Closed)

Created:
4 years, 4 months ago by rmacnak
Modified:
4 years, 4 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

DBC: Fix not-stopping/crashing at fast Smi op breakpoints. When setting a breakpoint at a fast Smi op, replace the fast Smi op instruction with a Nop so we don't skip the following DebugBreak in the Smi case and don't attempt to increment an ICData counter through pool slot 0. R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/3dba3a77c1360ce447a5fb8ecf1f48348067f5de

Patch Set 1 #

Total comments: 3

Patch Set 2 : other 2 checked args instance calls #

Total comments: 2

Patch Set 3 : year #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -14 lines) Patch
A runtime/observatory/tests/service/breakpoint_two_args_checked_test.dart View 1 2 1 chunk +72 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/service.status View 1 chunk +3 lines, -4 lines 0 comments Download
M runtime/tests/vm/vm.status View 1 chunk +1 line, -9 lines 0 comments Download
M runtime/vm/constants_dbc.h View 1 chunk +17 lines, -0 lines 0 comments Download
M runtime/vm/debugger.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/debugger_dbc.cc View 1 3 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
rmacnak
4 years, 4 months ago (2016-07-28 17:50:19 UTC) #2
zra
https://codereview.chromium.org/2194493002/diff/1/runtime/vm/debugger_dbc.cc File runtime/vm/debugger_dbc.cc (right): https://codereview.chromium.org/2194493002/diff/1/runtime/vm/debugger_dbc.cc#newcode65 runtime/vm/debugger_dbc.cc:65: if (Bytecode::DecodeOpcode(saved_value_) == Bytecode::kInstanceCall2) { Looking at the code ...
4 years, 4 months ago (2016-07-28 18:08:49 UTC) #3
rmacnak
https://codereview.chromium.org/2194493002/diff/1/runtime/vm/debugger_dbc.cc File runtime/vm/debugger_dbc.cc (right): https://codereview.chromium.org/2194493002/diff/1/runtime/vm/debugger_dbc.cc#newcode65 runtime/vm/debugger_dbc.cc:65: if (Bytecode::DecodeOpcode(saved_value_) == Bytecode::kInstanceCall2) { On 2016/07/28 18:08:48, zra ...
4 years, 4 months ago (2016-07-28 20:13:15 UTC) #4
zra
lgtm https://codereview.chromium.org/2194493002/diff/1/runtime/vm/debugger_dbc.cc File runtime/vm/debugger_dbc.cc (right): https://codereview.chromium.org/2194493002/diff/1/runtime/vm/debugger_dbc.cc#newcode65 runtime/vm/debugger_dbc.cc:65: if (Bytecode::DecodeOpcode(saved_value_) == Bytecode::kInstanceCall2) { On 2016/07/28 20:13:14, ...
4 years, 4 months ago (2016-07-28 20:17:48 UTC) #5
rmacnak
https://codereview.chromium.org/2194493002/diff/20001/runtime/observatory/tests/service/breakpoint_two_args_checked_test.dart File runtime/observatory/tests/service/breakpoint_two_args_checked_test.dart (right): https://codereview.chromium.org/2194493002/diff/20001/runtime/observatory/tests/service/breakpoint_two_args_checked_test.dart#newcode1 runtime/observatory/tests/service/breakpoint_two_args_checked_test.dart:1: // Copyright (c) 2015, the Dart project authors. Please ...
4 years, 4 months ago (2016-07-28 20:40:53 UTC) #6
rmacnak
4 years, 4 months ago (2016-07-28 20:41:27 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
3dba3a77c1360ce447a5fb8ecf1f48348067f5de (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698