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

Issue 1378163002: Add check to verify alignment on global variables. (Closed)

Created:
5 years, 2 months ago by Karl
Modified:
5 years, 2 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add check to verify alignment on global variables. Moves the alignment check method from the function block parser, to the top-level parser, and then uses it to also check alignment on global variables. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4329 R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=07af2ac73b348fb5e6378a49abcc9c9a36775a08

Patch Set 1 #

Patch Set 2 : Fix nits. #

Total comments: 4

Patch Set 3 : Fix issues in patch set 2. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -29 lines) Patch
M src/PNaClTranslator.cpp View 1 2 6 chunks +26 lines, -27 lines 0 comments Download
A + tests_lit/parse_errs/Inputs/bad-global-alignment.tbc View 1 chunk +4 lines, -2 lines 0 comments Download
A tests_lit/parse_errs/bad-global-alignment.test View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Karl
5 years, 2 months ago (2015-09-30 20:58:26 UTC) #2
Jim Stichnoth
https://chromiumcodereview.appspot.com/1378163002/diff/20001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://chromiumcodereview.appspot.com/1378163002/diff/20001/src/PNaClTranslator.cpp#newcode356 src/PNaClTranslator.cpp:356: static const uint32_t AlignPowerLimit = 29; constexpr ? https://chromiumcodereview.appspot.com/1378163002/diff/20001/src/PNaClTranslator.cpp#newcode362 ...
5 years, 2 months ago (2015-09-30 21:40:21 UTC) #3
Karl
https://chromiumcodereview.appspot.com/1378163002/diff/20001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://chromiumcodereview.appspot.com/1378163002/diff/20001/src/PNaClTranslator.cpp#newcode356 src/PNaClTranslator.cpp:356: static const uint32_t AlignPowerLimit = 29; On 2015/09/30 21:40:21, ...
5 years, 2 months ago (2015-09-30 22:23:45 UTC) #4
Jim Stichnoth
lgtm
5 years, 2 months ago (2015-09-30 22:26:27 UTC) #5
Karl
5 years, 2 months ago (2015-09-30 22:33:44 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
07af2ac73b348fb5e6378a49abcc9c9a36775a08 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698