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

Issue 1559223003: Treat R19 is a C preserved register, fixing crashing on Linux ARM64. (Closed)

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

Description

Note that R19 is a C preserved register, fixing crash returning from the first Dart entry on Linux ARM64. Bug was introduced by 91bc8005fe28a4d613c3c9d26f03fd6ae08b83aa. - Move the Dart stack pointer from R19 (C preserved) to R15 (C volatile) so it isn't among the registers saved by the InvokeDartCode stub. - Set a default cross compiler for ARM64. - Use ARM32 instead of IA32 binary to build Observatory on ARM64 hosts. R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/642f75421976e0f19ce21ca17cc6226f75871eab

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -15 lines) Patch
M runtime/vm/constants_arm64.h View 5 chunks +11 lines, -11 lines 2 comments Download
M runtime/vm/stack_frame_arm64.h View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/stub_code_arm64.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/build.py View 1 chunk +3 lines, -1 line 0 comments Download
M tools/utils.py View 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
rmacnak
4 years, 11 months ago (2016-01-06 00:21:04 UTC) #4
regis
LGTM I wonder how we missed th https://codereview.chromium.org/1559223003/diff/40001/runtime/vm/constants_arm64.h File runtime/vm/constants_arm64.h (right): https://codereview.chromium.org/1559223003/diff/40001/runtime/vm/constants_arm64.h#newcode33 runtime/vm/constants_arm64.h:33: R20 = ...
4 years, 11 months ago (2016-01-07 09:16:21 UTC) #7
rmacnak
https://codereview.chromium.org/1559223003/diff/40001/runtime/vm/constants_arm64.h File runtime/vm/constants_arm64.h (right): https://codereview.chromium.org/1559223003/diff/40001/runtime/vm/constants_arm64.h#newcode33 runtime/vm/constants_arm64.h:33: R20 = 20, // THR On 2016/01/07 09:16:21, regis ...
4 years, 11 months ago (2016-01-07 17:05:49 UTC) #8
regis
On 2016/01/07 17:05:49, rmacnak wrote: > https://codereview.chromium.org/1559223003/diff/40001/runtime/vm/constants_arm64.h > File runtime/vm/constants_arm64.h (right): > > https://codereview.chromium.org/1559223003/diff/40001/runtime/vm/constants_arm64.h#newcode33 > ...
4 years, 11 months ago (2016-01-07 17:19:39 UTC) #9
rmacnak
4 years, 11 months ago (2016-01-07 17:30:22 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
642f75421976e0f19ce21ca17cc6226f75871eab (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698