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

Issue 1682853003: [debugger] introduce abstract interface for break location. (Closed)

Created:
4 years, 10 months ago by Yang
Modified:
4 years, 10 months ago
Reviewers:
rmcilroy, vogelheim
CC:
v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, Yang, oth, v8-mips-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debugger] introduce abstract interface for break location. The break location heavily relies on relocation info. This change abstracts that away. Currently there is only one implementation for this interface, for JIT code. Future changes will introduce an implementation to iterate bytecode arrays. R=rmcilroy@chromium.org, vogelheim@chromium.org BUG=v8:4690 LOG=N Committed: https://crrev.com/24b40f35f43b7f1f0e8427720b3409b28119ee32 Cr-Commit-Position: refs/heads/master@{#33869}

Patch Set 1 #

Total comments: 9

Patch Set 2 : addressed comments #

Patch Set 3 : fix compile #

Patch Set 4 : revert stray edit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -289 lines) Patch
M src/arm/assembler-arm-inl.h View 1 chunk +0 lines, -17 lines 0 comments Download
M src/arm64/assembler-arm64-inl.h View 1 chunk +0 lines, -18 lines 0 comments Download
M src/assembler.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/assembler.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/debug/arm/debug-arm.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/debug/arm64/debug-arm64.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/debug/debug.h View 1 4 chunks +55 lines, -39 lines 0 comments Download
M src/debug/debug.cc View 1 2 16 chunks +120 lines, -75 lines 0 comments Download
M src/debug/ia32/debug-ia32.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/debug/mips/debug-mips.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/debug/mips64/debug-mips64.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/debug/ppc/debug-ppc.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/debug/x64/debug-x64.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/debug/x87/debug-x87.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/factory.cc View 1 chunk +5 lines, -1 line 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 chunk +0 lines, -10 lines 0 comments Download
M src/interpreter/source-position-table.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/interpreter/source-position-table.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/mips/assembler-mips-inl.h View 1 chunk +0 lines, -19 lines 0 comments Download
M src/mips64/assembler-mips64-inl.h View 1 chunk +0 lines, -22 lines 0 comments Download
M src/objects.h View 4 chunks +6 lines, -3 lines 0 comments Download
M src/objects.cc View 2 chunks +33 lines, -4 lines 0 comments Download
M src/objects-debug.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 2 chunks +10 lines, -1 line 0 comments Download
M src/objects-printer.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/assembler-ppc-inl.h View 1 chunk +0 lines, -33 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 chunk +0 lines, -17 lines 0 comments Download
M src/x87/assembler-x87-inl.h View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
Yang
Ross, please rubberstamp src/interpreter/
4 years, 10 months ago (2016-02-10 11:04:01 UTC) #2
rmcilroy
interpreter/ lgtm. Didn't look at the rest.
4 years, 10 months ago (2016-02-10 12:24:25 UTC) #3
vogelheim
lgtm https://codereview.chromium.org/1682853003/diff/1/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/1682853003/diff/1/src/debug/debug.cc#newcode65 src/debug/debug.cc:65: code_offset_(code_offset), rmode_ ? rmode_ is still in the ...
4 years, 10 months ago (2016-02-10 12:36:44 UTC) #4
Yang
https://codereview.chromium.org/1682853003/diff/1/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/1682853003/diff/1/src/debug/debug.cc#newcode65 src/debug/debug.cc:65: code_offset_(code_offset), On 2016/02/10 12:36:44, vogelheim wrote: > rmode_ ? ...
4 years, 10 months ago (2016-02-10 13:06:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682853003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682853003/20001
4 years, 10 months ago (2016-02-10 13:15:25 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/13476)
4 years, 10 months ago (2016-02-10 13:18:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682853003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682853003/40001
4 years, 10 months ago (2016-02-10 13:29:45 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/2593)
4 years, 10 months ago (2016-02-10 13:34:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682853003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682853003/60001
4 years, 10 months ago (2016-02-10 13:54:41 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-10 14:19:38 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 14:20:15 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/24b40f35f43b7f1f0e8427720b3409b28119ee32
Cr-Commit-Position: refs/heads/master@{#33869}

Powered by Google App Engine
This is Rietveld 408576698