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 1234833003: Debugger: use debug break slots to break at function exit. (Closed)

Created:
5 years, 5 months ago by Yang
Modified:
5 years, 5 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Debugger: use debug break slots to break at function exit. By not having to patch the return sequence (we patch the debug break slot right before it), we don't overwrite it and therefore don't have to keep the original copy of the code around. R=ulan@chromium.org BUG=v8:4269 LOG=N Committed: https://crrev.com/fc9c5275c3a747caca709b7d5745579f70e61301 Cr-Commit-Position: refs/heads/master@{#29672}

Patch Set 1 #

Patch Set 2 : rebase, clean ups, x64 port. #

Total comments: 6

Patch Set 3 : arm port #

Patch Set 4 : arm64 port #

Patch Set 5 : mips and mips64 #

Patch Set 6 : fix for arm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+510 lines, -1436 lines) Patch
M src/arm/assembler-arm.h View 1 2 3 4 5 3 chunks +3 lines, -23 lines 0 comments Download
M src/arm/assembler-arm-inl.h View 1 2 6 chunks +12 lines, -39 lines 0 comments Download
M src/arm/debug-arm.cc View 1 2 3 4 5 3 chunks +49 lines, -81 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 chunks +0 lines, -13 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/arm64/assembler-arm64.h View 1 2 3 3 chunks +2 lines, -22 lines 0 comments Download
M src/arm64/assembler-arm64.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M src/arm64/assembler-arm64-inl.h View 1 2 3 6 chunks +12 lines, -21 lines 0 comments Download
M src/arm64/debug-arm64.cc View 1 2 3 4 5 3 chunks +51 lines, -114 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 3 1 chunk +17 lines, -28 lines 0 comments Download
M src/assembler.h View 1 2 6 chunks +16 lines, -17 lines 0 comments Download
M src/assembler.cc View 1 5 chunks +7 lines, -25 lines 0 comments Download
M src/builtins.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/debug.h View 1 2 3 9 chunks +20 lines, -35 lines 0 comments Download
M src/debug.cc View 1 2 18 chunks +33 lines, -152 lines 0 comments Download
M src/factory.cc View 2 chunks +1 line, -9 lines 0 comments Download
M src/full-codegen.cc View 1 6 chunks +10 lines, -5 lines 0 comments Download
M src/heap/mark-compact.h View 2 chunks +0 lines, -3 lines 0 comments Download
M src/heap/mark-compact.cc View 3 chunks +5 lines, -13 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 3 chunks +3 lines, -7 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 3 chunks +5 lines, -18 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 2 6 chunks +15 lines, -51 lines 0 comments Download
M src/ia32/debug-ia32.cc View 1 2 3 3 chunks +36 lines, -107 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 1 chunk +2 lines, -14 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/ic/ic.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/ic/ic.cc View 1 1 chunk +0 lines, -10 lines 0 comments Download
M src/ic/ic-inl.h View 1 chunk +4 lines, -45 lines 0 comments Download
M src/liveedit.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M src/mips/assembler-mips.h View 1 2 3 4 3 chunks +2 lines, -21 lines 0 comments Download
M src/mips/assembler-mips.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M src/mips/assembler-mips-inl.h View 1 2 3 4 6 chunks +13 lines, -43 lines 0 comments Download
M src/mips/debug-mips.cc View 1 2 3 4 4 chunks +40 lines, -82 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 4 3 chunks +0 lines, -13 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/mips64/assembler-mips64.h View 1 2 3 4 3 chunks +2 lines, -21 lines 0 comments Download
M src/mips64/assembler-mips64.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M src/mips64/assembler-mips64-inl.h View 1 2 3 4 6 chunks +13 lines, -43 lines 0 comments Download
M src/mips64/debug-mips64.cc View 1 2 3 4 4 chunks +40 lines, -91 lines 0 comments Download
M src/mips64/full-codegen-mips64.cc View 1 2 3 4 3 chunks +0 lines, -14 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 1 2 chunks +2 lines, -8 lines 0 comments Download
M src/objects.cc View 1 2 3 chunks +5 lines, -7 lines 0 comments Download
M src/objects-debug.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 2 chunks +9 lines, -12 lines 0 comments Download
M src/x64/assembler-x64.h View 1 3 chunks +4 lines, -24 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 2 6 chunks +18 lines, -52 lines 0 comments Download
M src/x64/debug-x64.cc View 1 2 3 3 chunks +35 lines, -93 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 1 chunk +2 lines, -23 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-debug.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M test/mjsunit/debug-return-value.js View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
Yang
Please take a look at the ia32 port. I'll continue with other platforms later.
5 years, 5 months ago (2015-07-13 14:21:02 UTC) #1
ulan
looks good https://codereview.chromium.org/1234833003/diff/20001/src/ia32/assembler-ia32-inl.h File src/ia32/assembler-ia32-inl.h (right): https://codereview.chromium.org/1234833003/diff/20001/src/ia32/assembler-ia32-inl.h#newcode78 src/ia32/assembler-ia32-inl.h:78: return; I think it is cleaner to ...
5 years, 5 months ago (2015-07-14 09:12:45 UTC) #2
Yang
https://codereview.chromium.org/1234833003/diff/20001/src/ia32/assembler-ia32-inl.h File src/ia32/assembler-ia32-inl.h (right): https://codereview.chromium.org/1234833003/diff/20001/src/ia32/assembler-ia32-inl.h#newcode78 src/ia32/assembler-ia32-inl.h:78: return; On 2015/07/14 09:12:45, ulan wrote: > I think ...
5 years, 5 months ago (2015-07-14 12:00:57 UTC) #3
Yang
Paul, could you help me with the MIPS/MIPS64 ports?
5 years, 5 months ago (2015-07-14 12:01:20 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234833003/60001
5 years, 5 months ago (2015-07-14 13:03:40 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_mips64el_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_mips64el_compile_rel/builds/2711) (exceeded global ...
5 years, 5 months ago (2015-07-14 13:10:15 UTC) #9
balazs.kilvady
On 2015/07/14 12:01:20, Yang wrote: > Paul, could you help me with the MIPS/MIPS64 ports? ...
5 years, 5 months ago (2015-07-14 19:37:37 UTC) #10
Yang
On 2015/07/14 19:37:37, balazs.kilvady wrote: > On 2015/07/14 12:01:20, Yang wrote: > > Paul, could ...
5 years, 5 months ago (2015-07-14 19:40:45 UTC) #11
paul.l...
On 2015/07/14 19:40:45, Yang wrote: > Thanks Balazs, that was quick! As MIPS is a ...
5 years, 5 months ago (2015-07-14 19:46:05 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234833003/80001
5 years, 5 months ago (2015-07-15 07:18:46 UTC) #14
Yang
Ulan, please take a look.
5 years, 5 months ago (2015-07-15 07:18:49 UTC) #15
ulan
lgtm
5 years, 5 months ago (2015-07-15 07:53:46 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/6122)
5 years, 5 months ago (2015-07-15 08:06:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234833003/100001
5 years, 5 months ago (2015-07-15 08:55:30 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-15 09:22:40 UTC) #22
commit-bot: I haz the power
5 years, 5 months ago (2015-07-15 09:22:57 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fc9c5275c3a747caca709b7d5745579f70e61301
Cr-Commit-Position: refs/heads/master@{#29672}

Powered by Google App Engine
This is Rietveld 408576698