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

Issue 2909893002: [debug] Untangle DebugInfo from break point support (Closed)

Created:
3 years, 6 months ago by jgruber
Modified:
3 years, 6 months ago
CC:
v8-reviews_googlegroups.com, Yang, Franzi
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[debug] Untangle DebugInfo from break point support DebugInfo was very closely tied to break point support: * It contained only information relevant to break points. * It was created and freed by break point implementation. * Existence of a DebugInfo on the shared function info implied existence of break points. This CL is a step towards making DebugInfo usable by other debugging functionality such as block coverage by decoupling it from break point support, which is now only one kind of information stored on the DebugInfo object. BUG=v8:6000 Review-Url: https://codereview.chromium.org/2909893002 Cr-Commit-Position: refs/heads/master@{#45640} Committed: https://chromium.googlesource.com/v8/v8/+/d3371c23cb4b89da4f7b4ff09c11d594af213bc0

Patch Set 1 #

Patch Set 2 : Upload #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Fix BreakLocationIterator test #

Patch Set 7 : Rebase #

Patch Set 8 : Renames #

Patch Set 9 : Port arm,arm64,ia32 #

Total comments: 6

Patch Set 10 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+276 lines, -156 lines) Patch
M src/builtins/arm/builtins-arm.cc View 1 2 3 4 5 6 7 8 2 chunks +17 lines, -8 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -8 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -8 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/ppc/builtins-ppc.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/s390/builtins-s390.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -8 lines 0 comments Download
M src/builtins/x87/builtins-x87.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/compiler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/debug/debug.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -4 lines 0 comments Download
M src/debug/debug.cc View 1 2 3 4 5 6 7 8 9 15 chunks +98 lines, -54 lines 0 comments Download
M src/debug/debug-scopes.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/debug/liveedit.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/factory.cc View 1 2 3 1 chunk +5 lines, -18 lines 0 comments Download
M src/ic/ic.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects/debug-objects.h View 1 2 3 4 5 6 7 3 chunks +35 lines, -10 lines 0 comments Download
M src/objects/debug-objects.cc View 7 chunks +23 lines, -0 lines 0 comments Download
M src/objects/debug-objects-inl.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -7 lines 0 comments Download
M src/objects/shared-function-info.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/objects/shared-function-info-inl.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/test-debug.cc View 1 2 3 4 5 3 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 47 (39 generated)
jgruber
+rmcilroy for InterpreterEntryTrampoline in src/builtins +bmeurer for compiler/, crankshaft/, deoptimizer/ and ic/ +yangguo, franzih FYI ...
3 years, 6 months ago (2017-05-29 11:28:37 UTC) #10
Benedikt Meurer
LGTM on src/compiler and src/crankshaft.
3 years, 6 months ago (2017-05-30 04:09:49 UTC) #20
rmcilroy
On 2017/05/30 04:09:49, Benedikt Meurer wrote: > LGTM on src/compiler and src/crankshaft. InterpreterEntryTrampoline changes LGTM, ...
3 years, 6 months ago (2017-05-31 09:01:04 UTC) #29
jgruber
+georgia fyi for src/builtins/arm & arm64
3 years, 6 months ago (2017-05-31 11:10:47 UTC) #33
Michael Starzinger
LGTM (disclaimer: not deeply familiar with the debugger code). https://codereview.chromium.org/2909893002/diff/160001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2909893002/diff/160001/src/debug/debug.cc#newcode823 src/debug/debug.cc:823: ...
3 years, 6 months ago (2017-05-31 13:14:58 UTC) #36
jgruber
https://codereview.chromium.org/2909893002/diff/160001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2909893002/diff/160001/src/debug/debug.cc#newcode823 src/debug/debug.cc:823: DebugInfoListNode* curr = debug_info_list_; On 2017/05/31 13:14:58, Michael Starzinger ...
3 years, 6 months ago (2017-05-31 13:46:46 UTC) #39
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/2909893002/180001
3 years, 6 months ago (2017-05-31 14:25:28 UTC) #44
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 14:27:06 UTC) #47
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/v8/v8/+/d3371c23cb4b89da4f7b4ff09c11d594af2...

Powered by Google App Engine
This is Rietveld 408576698