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

Issue 1982613003: Don't assume we want the iOS ABI if running simarm on Mac and the EABI otherwise. (Closed)

Created:
4 years, 7 months ago by rmacnak
Modified:
4 years, 7 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

Don't assume we want the iOS ABI if running simarm on Mac and the EABI otherwise. Allow controlling the target ABI by defining TARGET_ABI_IOS or TARGET_ABI_EABI. If neither is defined, default to the previous behavior. Make Linux, Mac, Android and iOS agree on the value of PreferredCodeAlignment for all architectures. BUG=http://dartbug.com/26464 R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/85cdc0eac20e823c827d65685da8b1a9e1d9c2fe

Patch Set 1 #

Patch Set 2 : GN #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -29 lines) Patch
M runtime/BUILD.gn View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/platform/globals.h View 3 chunks +17 lines, -3 lines 0 comments Download
M runtime/vm/constants_arm.h View 1 2 3 4 chunks +45 lines, -6 lines 0 comments Download
M runtime/vm/dart.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/disassembler_arm.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/os_android.cc View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M runtime/vm/os_macos.cc View 1 2 1 chunk +18 lines, -2 lines 0 comments Download
M runtime/vm/simulator_arm.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/stack_frame_arm.h View 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
rmacnak
Not thrilled about the code alignment part. The issue is we're currently using the value ...
4 years, 7 months ago (2016-05-17 01:45:17 UTC) #4
Florian Schneider
Does that mean I have to rebuild gen_snapshot / dart_bootstrap when I switch between generating ...
4 years, 7 months ago (2016-05-17 12:44:53 UTC) #5
zra
On 2016/05/17 12:44:53, Florian Schneider wrote: > Does that mean I have to rebuild gen_snapshot ...
4 years, 7 months ago (2016-05-17 15:37:25 UTC) #6
rmacnak
Added some ABI description. PTAL.
4 years, 7 months ago (2016-05-17 21:21:50 UTC) #7
rmacnak
On 2016/05/17 12:44:53, Florian Schneider wrote: > Does that mean I have to rebuild gen_snapshot ...
4 years, 7 months ago (2016-05-17 21:32:50 UTC) #8
zra
lgtm
4 years, 7 months ago (2016-05-17 21:35:45 UTC) #9
rmacnak
Committed patchset #4 (id:60001) manually as 85cdc0eac20e823c827d65685da8b1a9e1d9c2fe (presubmit successful).
4 years, 7 months ago (2016-05-17 22:04:02 UTC) #11
Florian Schneider
On 2016/05/17 21:32:50, rmacnak wrote: > On 2016/05/17 12:44:53, Florian Schneider wrote: > > Does ...
4 years, 7 months ago (2016-05-18 07:21:14 UTC) #12
rmacnak
4 years, 7 months ago (2016-05-18 17:37:40 UTC) #13
Message was sent while issue was closed.
On 2016/05/18 07:21:14, Florian Schneider wrote:
> On 2016/05/17 21:32:50, rmacnak wrote:
> > On 2016/05/17 12:44:53, Florian Schneider wrote:
> > > Does that mean I have to rebuild gen_snapshot / dart_bootstrap when I
switch
> > > between generating iOS or Android snapshots on my Macbook? Ideally, the
> target
> > > ABI should be configurable via the command-line for snapshot generation.
> > 
> > Currently yes.  Making all the relevant values in constants_arm.h to depend
on
> a
> > runtime flag is a bigger change.
> 
> Lgtm. Ok, sounds good to me for now. We may want to add a gyp-define variable
as
> well... Or does
> the GN build work for the standalone VM?

I believe we currently still cannot build the standalone VM from GN. If neither
define is provided, we default to EABI on Linux and iOS on Mac, so the mac
precompilation bots are still testing the iOS path.

Powered by Google App Engine
This is Rietveld 408576698