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

Issue 18516012: Enable debug builds with some optimizations turned on. (Closed)

Created:
7 years, 5 months ago by Michael Achenbach
Modified:
7 years, 5 months ago
Reviewers:
Nico, danno, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Enable debug builds with some optimizations turned on. A new gyp variable 'v8_optimized_debug' can be set to 1 in order to turn on optimization level 1 for debug builds. With the default (=0), it builds in debug mode like before. The intention is to run some bots on the waterfall with this configuration. Tests have a x5 speed-up like that. R=jkummerow@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15599

Patch Set 1 #

Patch Set 2 : Added new debug build option to win and mac build. #

Total comments: 4

Patch Set 3 : Review comments. #

Total comments: 1

Patch Set 4 : Review comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -5 lines) Patch
M build/toolchain.gypi View 1 2 3 5 chunks +44 lines, -5 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
Michael Achenbach
PTAL
7 years, 5 months ago (2013-07-09 12:18:40 UTC) #1
Jakob Kummerow
What about Windows and Mac?
7 years, 5 months ago (2013-07-09 12:21:06 UTC) #2
Michael Achenbach
On 2013/07/09 12:21:06, Jakob wrote: > What about Windows and Mac? There you go. PTAL.
7 years, 5 months ago (2013-07-09 14:00:44 UTC) #3
Jakob Kummerow
LGTM with comments. https://codereview.chromium.org/18516012/diff/4001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/18516012/diff/4001/build/common.gypi#newcode507 build/common.gypi:507: 'msvs_settings': { Keeping the msvs_settings section ...
7 years, 5 months ago (2013-07-09 16:47:07 UTC) #4
Michael Achenbach
On 2013/07/09 16:47:07, Jakob wrote: > LGTM with comments. > > https://codereview.chromium.org/18516012/diff/4001/build/common.gypi > File build/common.gypi ...
7 years, 5 months ago (2013-07-10 13:04:23 UTC) #5
Jakob Kummerow
still LGTM https://codereview.chromium.org/18516012/diff/15001/build/toolchain.gypi File build/toolchain.gypi (right): https://codereview.chromium.org/18516012/diff/15001/build/toolchain.gypi#newcode526 build/toolchain.gypi:526: '-O0', I don't see why this change ...
7 years, 5 months ago (2013-07-10 13:24:54 UTC) #6
Michael Achenbach
On 2013/07/10 13:24:54, Jakob wrote: > still LGTM > > https://codereview.chromium.org/18516012/diff/15001/build/toolchain.gypi > File build/toolchain.gypi (right): ...
7 years, 5 months ago (2013-07-10 13:28:01 UTC) #7
Michael Achenbach
Committed patchset #4 manually as r15599 (presubmit successful).
7 years, 5 months ago (2013-07-10 15:21:49 UTC) #8
Nico
7 years, 5 months ago (2013-07-17 03:13:43 UTC) #9
Message was sent while issue was closed.
fyi:

https://codereview.chromium.org/18516012/diff/19001/build/toolchain.gypi
File build/toolchain.gypi (right):

https://codereview.chromium.org/18516012/diff/19001/build/toolchain.gypi#newc...
build/toolchain.gypi:513: 'GCC_STRICT_ALIASING': 'YES',
Note that strict aliasing is only done at -O2 or higher (and on recent clangs
it's on by default with -O2 too). So setting GCC_STRICT_ALIASING here doesn't
really do anything.

Powered by Google App Engine
This is Rietveld 408576698