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

Issue 2389923003: Add an optimize_for_fuzzing GN flag to build with -O1 (Closed)

Created:
4 years, 2 months ago by Oliver Chang
Modified:
4 years, 2 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, aizatsky, kcc2, inferno, mmoroz
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an optimize_for_fuzzing GN flag to build most things with -O1 This is better for coverage guided fuzzing builds as less optimization means more branches in the generated code. BUG=643249 Committed: https://crrev.com/aaa26c162de624ebcf7a120e85fef3e19ec02151 Cr-Commit-Position: refs/heads/master@{#423217}

Patch Set 1 #

Patch Set 2 : Add an optimize_for_fuzzing GN flag to build with -O1 #

Total comments: 6

Patch Set 3 : address comments #

Patch Set 4 : rebase #

Patch Set 5 : move assert #

Total comments: 1

Patch Set 6 : add visibility #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M build/config/compiler/BUILD.gn View 1 2 3 4 5 3 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (19 generated)
Oliver Chang
Dirk, ptal. Not sure if this is the right way to do it.
4 years, 2 months ago (2016-10-03 19:46:22 UTC) #3
Dirk Pranke
https://codereview.chromium.org/2389923003/diff/20001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2389923003/diff/20001/build/config/compiler/BUILD.gn#newcode1479 build/config/compiler/BUILD.gn:1479: assert(!is_win) I would: - get rid of lines 1467-1477 ...
4 years, 2 months ago (2016-10-03 20:37:14 UTC) #4
Oliver Chang
Thanks for the comments! https://codereview.chromium.org/2389923003/diff/20001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2389923003/diff/20001/build/config/compiler/BUILD.gn#newcode1479 build/config/compiler/BUILD.gn:1479: assert(!is_win) On 2016/10/03 20:37:13, Dirk ...
4 years, 2 months ago (2016-10-03 20:54:25 UTC) #5
Dirk Pranke
lgtm, that's about as clean as it can get :).
4 years, 2 months ago (2016-10-04 20:11:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2389923003/40001
4 years, 2 months ago (2016-10-04 20:31:58 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/80338) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 2 months ago (2016-10-04 20:35:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2389923003/60001
4 years, 2 months ago (2016-10-04 21:06:40 UTC) #14
Oliver Chang
It looks like the asserts are evaluated when the file is loaded, not when it's ...
4 years, 2 months ago (2016-10-04 22:57:34 UTC) #20
Dirk Pranke
still lgtm but I suggest another thing you could do if you feel like it. ...
4 years, 2 months ago (2016-10-05 16:45:38 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2389923003/100001
4 years, 2 months ago (2016-10-05 17:45:57 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-05 17:59:28 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 18:01:47 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/aaa26c162de624ebcf7a120e85fef3e19ec02151
Cr-Commit-Position: refs/heads/master@{#423217}

Powered by Google App Engine
This is Rietveld 408576698