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

Issue 1024203002: Move some flag-like props from GlobalContext and TargetLowering to ClFlags. (Closed)

Created:
5 years, 9 months ago by jvoung (off chromium)
Modified:
5 years, 9 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

Move some flag-like props from GlobalContext and TargetLowering to ClFlags. Simplifies the GlobalContext constructor so that a future change may just set up the flags and the GlobalContext before calling into what is currently "main". Namely this change: https://codereview.chromium.org/997773002/ This also moves all uses of LLVM's CommandLine.h to a single file, so that in the future we may be able to simplify the flags parsing (especially for the minimal build). BUG= https://code.google.com/p/nativeclient/issues/detail?id=4091 BUG= https://code.google.com/p/nativeclient/issues/detail?id=4084 R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=1f47ad02c2db6427f53438f764c1299fe55dfcbd

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rand -> Random #

Total comments: 4

Patch Set 3 : review / clean up formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -154 lines) Patch
M src/IceCfg.cpp View 1 chunk +8 lines, -7 lines 0 comments Download
M src/IceClFlags.h View 1 8 chunks +60 lines, -9 lines 0 comments Download
M src/IceELFObjectWriter.h View 3 chunks +5 lines, -4 lines 0 comments Download
M src/IceELFObjectWriter.cpp View 1 2 15 chunks +31 lines, -38 lines 0 comments Download
M src/IceGlobalContext.h View 4 chunks +1 line, -11 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 2 6 chunks +9 lines, -11 lines 0 comments Download
M src/IceRNG.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/IceRNG.cpp View 2 chunks +2 lines, -14 lines 0 comments Download
M src/IceTargetLowering.h View 3 chunks +1 line, -3 lines 0 comments Download
M src/IceTargetLowering.cpp View 5 chunks +8 lines, -33 lines 0 comments Download
M src/IceTargetLoweringX8632.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 7 chunks +12 lines, -16 lines 0 comments Download
M src/IceTypes.h View 1 chunk +10 lines, -0 lines 0 comments Download
M src/main.cpp View 4 chunks +45 lines, -2 lines 0 comments Download
M unittest/BitcodeMunge.cpp View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
jvoung (off chromium)
https://codereview.chromium.org/1024203002/diff/1/src/IceELFObjectWriter.cpp File src/IceELFObjectWriter.cpp (right): https://codereview.chromium.org/1024203002/diff/1/src/IceELFObjectWriter.cpp#newcode429 src/IceELFObjectWriter.cpp:429: template <bool IsELF64> I removed all the local "bool ...
5 years, 9 months ago (2015-03-20 20:47:10 UTC) #2
Jim Stichnoth
lgtm https://codereview.chromium.org/1024203002/diff/20001/src/IceELFObjectWriter.cpp File src/IceELFObjectWriter.cpp (right): https://codereview.chromium.org/1024203002/diff/20001/src/IceELFObjectWriter.cpp#newcode461 src/IceELFObjectWriter.cpp:461: // e_flags unfortunate clang_formatting... maybe copy Ctx.getFlags().getTargetArch() into ...
5 years, 9 months ago (2015-03-20 21:19:25 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/1024203002/diff/20001/src/IceELFObjectWriter.cpp File src/IceELFObjectWriter.cpp (right): https://codereview.chromium.org/1024203002/diff/20001/src/IceELFObjectWriter.cpp#newcode461 src/IceELFObjectWriter.cpp:461: // e_flags On 2015/03/20 21:19:25, stichnot wrote: > unfortunate ...
5 years, 9 months ago (2015-03-20 21:46:28 UTC) #4
jvoung (off chromium)
5 years, 9 months ago (2015-03-20 22:01:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:30001) manually as
1f47ad02c2db6427f53438f764c1299fe55dfcbd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698