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

Issue 1179313004: Fix a bug that would cause subzero to fail when --threads=0. (Closed)

Created:
5 years, 6 months ago by John
Modified:
5 years, 6 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

Fix a bug that would cause subzero to fail when --threads=0. Creates a single TargetDataLowering. BUG= None R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=8b1a705165292328a3db53da273420989b46e443

Patch Set 1 #

Patch Set 2 : Writes globals twice: either before any code is emitted, or after all code has been emitted. #

Patch Set 3 : TargetDataLowering::emitGlobal refactor + clang-format on every touched *h|*cpp file. #

Patch Set 4 : Removes the (now) unused Translator::emitConstants and Translator::transferErrorCode. #

Patch Set 5 : Removes (newly introduces) unused parameter warning. #

Total comments: 9

Patch Set 6 : Addresses code review comments. #

Total comments: 10

Patch Set 7 : Addresses codereview comments. #

Total comments: 6

Patch Set 8 : Addresses codereview comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -172 lines) Patch
M src/IceCfgNode.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M src/IceCompiler.cpp View 1 2 3 4 5 6 1 chunk +15 lines, -8 lines 0 comments Download
M src/IceELFObjectWriter.h View 1 2 3 4 5 6 7 4 chunks +10 lines, -12 lines 0 comments Download
M src/IceELFObjectWriter.cpp View 1 2 3 4 5 6 7 6 chunks +20 lines, -14 lines 0 comments Download
M src/IceGlobalContext.h View 1 2 3 4 5 6 7 4 chunks +35 lines, -0 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 2 3 4 5 6 7 9 chunks +60 lines, -72 lines 0 comments Download
M src/IceTargetLowering.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -3 lines 0 comments Download
M src/IceTargetLowering.cpp View 1 2 3 4 5 6 4 chunks +44 lines, -20 lines 0 comments Download
M src/IceTargetLoweringARM32.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M src/IceTargetLoweringARM32.cpp View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M src/IceTargetLoweringMIPS32.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M src/IceTargetLoweringX8632.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 3 4 5 6 7 2 chunks +9 lines, -10 lines 0 comments Download
M src/IceTranslator.h View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M src/IceTranslator.cpp View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download
M tests_lit/llvm2ice_tests/elf_container.ll View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
John
5 years, 6 months ago (2015-06-16 15:54:03 UTC) #2
Jim Stichnoth
https://codereview.chromium.org/1179313004/diff/70001/src/IceELFObjectWriter.h File src/IceELFObjectWriter.h (right): https://codereview.chromium.org/1179313004/diff/70001/src/IceELFObjectWriter.h#newcode34 src/IceELFObjectWriter.h:34: // SectionSuffix is unique) can you indent this by ...
5 years, 6 months ago (2015-06-16 17:03:25 UTC) #4
John
https://codereview.chromium.org/1179313004/diff/70001/src/IceELFObjectWriter.h File src/IceELFObjectWriter.h (right): https://codereview.chromium.org/1179313004/diff/70001/src/IceELFObjectWriter.h#newcode34 src/IceELFObjectWriter.h:34: // SectionSuffix is unique) On 2015/06/16 17:03:24, stichnot wrote: ...
5 years, 6 months ago (2015-06-16 17:30:55 UTC) #5
jvoung (off chromium)
Made a quick scan over the elf object writer https://codereview.chromium.org/1179313004/diff/90001/src/IceCompiler.cpp File src/IceCompiler.cpp (right): https://codereview.chromium.org/1179313004/diff/90001/src/IceCompiler.cpp#newcode155 src/IceCompiler.cpp:155: ...
5 years, 6 months ago (2015-06-16 18:23:10 UTC) #6
John
https://codereview.chromium.org/1179313004/diff/90001/src/IceCompiler.cpp File src/IceCompiler.cpp (right): https://codereview.chromium.org/1179313004/diff/90001/src/IceCompiler.cpp#newcode155 src/IceCompiler.cpp:155: Ctx.getObjectWriter()->writeNonUserSections(); On 2015/06/16 18:23:10, jvoung wrote: > Should this ...
5 years, 6 months ago (2015-06-16 19:58:02 UTC) #7
Jim Stichnoth
https://codereview.chromium.org/1179313004/diff/70001/src/IceGlobalContext.h File src/IceGlobalContext.h (right): https://codereview.chromium.org/1179313004/diff/70001/src/IceGlobalContext.h#newcode447 src/IceGlobalContext.h:447: std::unique_ptr<TargetDataLowering> DataLowering; On 2015/06/16 17:30:55, John wrote: > On ...
5 years, 6 months ago (2015-06-17 16:04:57 UTC) #8
John
https://codereview.chromium.org/1179313004/diff/110001/src/IceELFObjectWriter.cpp File src/IceELFObjectWriter.cpp (right): https://codereview.chromium.org/1179313004/diff/110001/src/IceELFObjectWriter.cpp#newcode308 src/IceELFObjectWriter.cpp:308: IceString MangledName; On 2015/06/17 16:04:56, stichnot wrote: > Can ...
5 years, 6 months ago (2015-06-17 18:18:35 UTC) #9
Jim Stichnoth
lgtm
5 years, 6 months ago (2015-06-17 20:13:57 UTC) #10
John
5 years, 6 months ago (2015-06-17 20:20:13 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 (id:130001) manually as
8b1a705165292328a3db53da273420989b46e443 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698