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

Issue 2014413003: Bump the C stack pointer when building Dart frames to maintain the ARM64 ABI requirements without g… (Closed)

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

Description

Bump the C stack pointer when building Dart frames to maintain the ARM64 ABI requirements without guessing the stack limit. Fixes running with the profiler on ARM64. Cf. 5d02929fa0605380712361e42df4999b7aabc3df. BUG=http://dartbug.com/26472 R=vegorov@google.com, zra@google.com Committed: https://github.com/dart-lang/sdk/commit/6e2c4636cddece36c87ca77f69955a8490c8a0dd

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : assembler test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -79 lines) Patch
M runtime/vm/assembler_arm64.h View 1 chunk +3 lines, -9 lines 0 comments Download
M runtime/vm/assembler_arm64.cc View 1 1 chunk +26 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm64_test.cc View 1 2 3 49 chunks +82 lines, -64 lines 0 comments Download
M runtime/vm/constants_arm64.h View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/object_arm64_test.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/stub_code_arm64.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
rmacnak
https://codereview.chromium.org/2014413003/diff/1/runtime/vm/assembler_arm64.cc File runtime/vm/assembler_arm64.cc (right): https://codereview.chromium.org/2014413003/diff/1/runtime/vm/assembler_arm64.cc#newcode1149 runtime/vm/assembler_arm64.cc:1149: const intptr_t kMaxDartFrameSize = 256; Not sure where in ...
4 years, 6 months ago (2016-05-27 04:44:51 UTC) #2
zra
I'm worried that if we also don't switch to using CSP for the stack overflow ...
4 years, 6 months ago (2016-05-27 14:58:39 UTC) #3
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2014413003/diff/1/runtime/vm/assembler_arm64.cc File runtime/vm/assembler_arm64.cc (right): https://codereview.chromium.org/2014413003/diff/1/runtime/vm/assembler_arm64.cc#newcode1149 runtime/vm/assembler_arm64.cc:1149: const intptr_t kMaxDartFrameSize = 256; On 2016/05/27 04:44:51, ...
4 years, 6 months ago (2016-05-27 15:34:52 UTC) #4
zra
On 2016/05/27 15:34:52, Vyacheslav Egorov (Google) wrote: > It's not that easy. I think we ...
4 years, 6 months ago (2016-05-27 15:42:58 UTC) #5
rmacnak
Increased the bump to 4k, and updated the issue for the stack overflow change and ...
4 years, 6 months ago (2016-05-27 17:42:04 UTC) #6
rmacnak
Fixed simulation of "and csp, tmp, ~15", PTAL.
4 years, 6 months ago (2016-05-27 22:12:00 UTC) #7
zra
lgtm with test There are no assembler tests that do EmitFrame, so there are no ...
4 years, 6 months ago (2016-05-31 21:20:22 UTC) #8
rmacnak
Several assembler tests do use EnterFrame (via EnterTestFrame), but added a more specific assembler test.
4 years, 6 months ago (2016-05-31 22:35:43 UTC) #9
rmacnak
Committed patchset #4 (id:60001) manually as 6e2c4636cddece36c87ca77f69955a8490c8a0dd (presubmit successful).
4 years, 6 months ago (2016-05-31 22:36:50 UTC) #11
zra
4 years, 6 months ago (2016-05-31 22:40:11 UTC) #12
Message was sent while issue was closed.
On 2016/05/31 22:35:43, rmacnak wrote:
> Several assembler tests do use EnterFrame (via EnterTestFrame), but added a
more
> specific assembler test.

Doh! You're right. I searched for the wrong string. Thanks for adding more
tests!

Powered by Google App Engine
This is Rietveld 408576698