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

Issue 295383012: Mojo: Require our public options structs to be aligned like int64_t's. (Closed)

Created:
6 years, 6 months ago by viettrungluu
Modified:
6 years, 6 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Visibility:
Public.

Description

Mojo: Require our public options structs to be aligned like int64_t's. The structs are meant to be extensible and part of the ABI, and not requiring such alignment of them would mean that it'd be difficult to add (u)int64_t's (or anything aligned like them) to them in the future. R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273508

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix win #

Patch Set 3 : fix win 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -3 lines) Patch
M mojo/public/c/system/buffer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/c/system/data_pipe.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/c/system/macros.h View 1 2 chunks +32 lines, -1 line 0 comments Download
M mojo/public/c/system/tests/macros_unittest.cc View 1 2 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
viettrungluu
6 years, 6 months ago (2014-05-28 20:41:06 UTC) #1
darin (slow to review)
https://codereview.chromium.org/295383012/diff/1/mojo/public/c/system/macros.h File mojo/public/c/system/macros.h (right): https://codereview.chromium.org/295383012/diff/1/mojo/public/c/system/macros.h#newcode45 mojo/public/c/system/macros.h:45: #define MOJO_ALIGNOF(type) alignof(type) I wonder if these shouldn't be ...
6 years, 6 months ago (2014-05-28 21:35:14 UTC) #2
darin (slow to review)
LGTM
6 years, 6 months ago (2014-05-28 21:35:19 UTC) #3
viettrungluu
On 2014/05/28 21:35:14, darin wrote: > https://codereview.chromium.org/295383012/diff/1/mojo/public/c/system/macros.h > File mojo/public/c/system/macros.h (right): > > https://codereview.chromium.org/295383012/diff/1/mojo/public/c/system/macros.h#newcode45 > ...
6 years, 6 months ago (2014-05-28 23:24:26 UTC) #4
viettrungluu
The CQ bit was checked by viettrungluu@chromium.org
6 years, 6 months ago (2014-05-28 23:24:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/viettrungluu@chromium.org/295383012/20001
6 years, 6 months ago (2014-05-28 23:26:43 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 03:27:44 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 04:44:05 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/20930)
6 years, 6 months ago (2014-05-29 04:44:06 UTC) #9
viettrungluu
6 years, 6 months ago (2014-05-29 17:22:15 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r273508 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698