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 2090723005: [builtins] New frame type for exits to C++ builtins (Closed)

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

Description

[builtins] New frame type for exits to C++ builtins Prior to this commit, calls to C++ builtins created standard exit frames, which are skipped when constructing JS stack traces. In order to show these calls on traces, we introduce a new builtin exit frame type. Builtin exit frames contain target and new.target on the stack and are not skipped during stack trace construction. BUG=v8:4815 R=bmeurer@chromium.org, yangguo@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel;tryserver.v8:v8_linux_nosnap_dbg Committed: https://crrev.com/3c60c6b105f39344f93a8407f41534e5e60cf19a Committed: https://crrev.com/5febc27b5d17f14908d5e3c225bdb9b8a6b2df9a Cr-Original-Commit-Position: refs/heads/master@{#37384} Cr-Commit-Position: refs/heads/master@{#37416}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Enum for BUILTIN_LIST_C, BuiltinExitFrameConstants #

Patch Set 3 : Undo whitespace change in frames-ia32.h #

Patch Set 4 : Use enum in all arches #

Patch Set 5 : Revert changes to StackTraceFrameIterator #

Patch Set 6 : Add missing condition in SafeStackFrameIter::frame() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+431 lines, -255 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M src/arm/macro-assembler-arm.h View 2 chunks +4 lines, -2 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 2 chunks +9 lines, -6 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M src/arm64/macro-assembler-arm64.h View 2 chunks +5 lines, -4 lines 0 comments Download
M src/arm64/macro-assembler-arm64.cc View 1 2 3 4 2 chunks +10 lines, -9 lines 0 comments Download
M src/builtins.h View 1 2 3 4 5 chunks +148 lines, -145 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 9 chunks +12 lines, -5 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M src/counters.h View 1 chunk +1 line, -1 line 0 comments Download
M src/counters.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/debug/liveedit.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/external-reference-table.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M src/frames.h View 1 2 3 4 5 chunks +33 lines, -1 line 0 comments Download
M src/frames.cc View 1 2 3 4 6 chunks +27 lines, -2 lines 0 comments Download
M src/frames-inl.h View 1 2 3 4 5 2 chunks +8 lines, -1 line 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M src/ia32/macro-assembler-ia32.h View 3 chunks +4 lines, -3 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 2 3 4 5 chunks +12 lines, -9 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 3 chunks +32 lines, -0 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 4 4 chunks +10 lines, -6 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 4 chunks +10 lines, -6 lines 0 comments Download
M src/profiler/tick-sample.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/builtins-x64.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M src/x64/macro-assembler-x64.h View 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 4 5 chunks +13 lines, -10 lines 0 comments Download
M test/cctest/compiler/test-run-inlining.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/test-log-stack-tracer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/message/paren_in_arg_string.out View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/regress/regress-4815.js View 2 chunks +18 lines, -6 lines 0 comments Download

Messages

Total messages: 47 (22 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2090723005/1
4 years, 6 months ago (2016-06-24 06:55:25 UTC) #2
jgruber
4 years, 6 months ago (2016-06-24 07:28:04 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/87557)
4 years, 6 months ago (2016-06-24 08:16:55 UTC) #6
Benedikt Meurer
LGTM.
4 years, 5 months ago (2016-06-27 06:58:24 UTC) #7
Yang
lgtm. https://codereview.chromium.org/2090723005/diff/1/src/builtins.h File src/builtins.h (right): https://codereview.chromium.org/2090723005/diff/1/src/builtins.h#newcode42 src/builtins.h:42: V(Illegal, true) \ Might be nicer to have ...
4 years, 5 months ago (2016-06-27 08:30:02 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2090723005/20001
4 years, 5 months ago (2016-06-27 10:54:17 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_gcc_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/18336) v8_win64_rel_ng on ...
4 years, 5 months ago (2016-06-27 10:56:48 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2090723005/40001
4 years, 5 months ago (2016-06-27 11:01:37 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_mipsel_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_mipsel_compile_rel/builds/16664)
4 years, 5 months ago (2016-06-27 11:03:49 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2090723005/60001
4 years, 5 months ago (2016-06-27 11:08:57 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/87621)
4 years, 5 months ago (2016-06-27 12:12:29 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2090723005/80001
4 years, 5 months ago (2016-06-29 09:05:55 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 10:43:56 UTC) #24
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/2090723005/80001
4 years, 5 months ago (2016-06-29 11:05:46 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-06-29 11:09:27 UTC) #29
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/3c60c6b105f39344f93a8407f41534e5e60cf19a Cr-Commit-Position: refs/heads/master@{#37384}
4 years, 5 months ago (2016-06-29 11:10:43 UTC) #31
Benedikt Meurer
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2106113002/ by bmeurer@chromium.org. ...
4 years, 5 months ago (2016-06-29 12:36:37 UTC) #32
Yang
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2109603004/ by yangguo@chromium.org. ...
4 years, 5 months ago (2016-06-29 13:24:30 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2090723005/100001
4 years, 5 months ago (2016-06-29 15:07:41 UTC) #36
jgruber
Fixed failing DCHECK, PTAL.
4 years, 5 months ago (2016-06-29 15:08:38 UTC) #37
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 16:28:33 UTC) #39
Yang
lgtm
4 years, 5 months ago (2016-06-29 18:18:24 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/2090723005/100001
4 years, 5 months ago (2016-06-30 06:53:15 UTC) #43
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-06-30 06:55:32 UTC) #45
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 06:58:35 UTC) #47
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5febc27b5d17f14908d5e3c225bdb9b8a6b2df9a
Cr-Commit-Position: refs/heads/master@{#37416}

Powered by Google App Engine
This is Rietveld 408576698