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

Issue 315323002: Disable Warning 4702 for the PGO builds. (Closed)

Created:
6 years, 6 months ago by Sébastien Marchand
Modified:
6 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Disable Warning 4702 for the PGO builds. There's more optimization done on a PGO build than on a regular one, this results in some "Unreachable code" warnings that we don't see normally. But probably anything that this would catch that wouldn't be caught in a normal build isn't going to actually be a bug, so the incremental value of C4702 for PGO builds is likely very small and blocks the setup of the PGO bots. BUG=380175 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276737

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove the TODO. #

Total comments: 1

Patch Set 3 : Update the comment. #

Total comments: 6

Patch Set 4 : Revert the change on nacl_listener.cc #

Patch Set 5 : Update the GN build file. #

Total comments: 2

Patch Set 6 : address Brett's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -9 lines) Patch
M base/logging.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M build/common.gypi View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
Sébastien Marchand
PTAL (thakis@ and bradnelson@ for owner approval)
6 years, 6 months ago (2014-06-05 21:02:17 UTC) #1
scottmg
Please add some rationale/explanation per the bug discussion to the CL description, then lgtm. https://codereview.chromium.org/315323002/diff/1/build/common.gypi ...
6 years, 6 months ago (2014-06-05 21:10:08 UTC) #2
Sébastien Marchand
Thanks. Waiting for other reviews. https://codereview.chromium.org/315323002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/315323002/diff/1/build/common.gypi#newcode4972 build/common.gypi:4972: # TODO(sebmarchand): Re-enable this ...
6 years, 6 months ago (2014-06-05 21:18:39 UTC) #3
Peter Kasting
LGTM https://codereview.chromium.org/315323002/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/315323002/diff/20001/build/common.gypi#newcode4971 build/common.gypi:4971: # builds, see crbug.com/380175. Nit: Try to avoid ...
6 years, 6 months ago (2014-06-05 23:38:10 UTC) #4
Sébastien Marchand
The CQ bit was checked by sebmarchand@chromium.org
6 years, 6 months ago (2014-06-09 13:36:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/315323002/40001
6 years, 6 months ago (2014-06-09 13:37:12 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-09 21:40:46 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-09 22:34:10 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72554)
6 years, 6 months ago (2014-06-09 22:34:11 UTC) #9
Sébastien Marchand
The CQ bit was checked by sebmarchand@chromium.org
6 years, 6 months ago (2014-06-10 14:29:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/315323002/40001
6 years, 6 months ago (2014-06-10 14:31:34 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 14:44:41 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 14:50:06 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72688)
6 years, 6 months ago (2014-06-10 14:50:07 UTC) #14
Sébastien Marchand
+brettw@ for base/ owner's approval +bradchen@ for components/nacl/ owner's approval
6 years, 6 months ago (2014-06-10 15:23:03 UTC) #15
Sébastien Marchand
+brettw@ for base/ owner's approval +bradchen@ for components/nacl/ owner's approval
6 years, 6 months ago (2014-06-10 15:24:46 UTC) #16
bradn
https://codereview.chromium.org/315323002/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/315323002/diff/40001/build/common.gypi#newcode4976 build/common.gypi:4976: 4702 Could you not introduce a define here to ...
6 years, 6 months ago (2014-06-10 16:42:47 UTC) #17
Sébastien Marchand
https://codereview.chromium.org/315323002/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/315323002/diff/40001/build/common.gypi#newcode4976 build/common.gypi:4976: 4702 On 2014/06/10 16:42:47, bradn wrote: > Could you ...
6 years, 6 months ago (2014-06-10 17:03:33 UTC) #18
bradn
+ mseaborn https://codereview.chromium.org/315323002/diff/40001/components/nacl/loader/nacl_listener.cc File components/nacl/loader/nacl_listener.cc (right): https://codereview.chromium.org/315323002/diff/40001/components/nacl/loader/nacl_listener.cc#newcode478 components/nacl/loader/nacl_listener.cc:478: NaClChromeMainStartApp(nap, args); On 2014/06/10 17:03:33, Sébastien Marchand ...
6 years, 6 months ago (2014-06-10 17:35:31 UTC) #19
Sébastien Marchand
https://codereview.chromium.org/315323002/diff/40001/components/nacl/loader/nacl_listener.cc File components/nacl/loader/nacl_listener.cc (right): https://codereview.chromium.org/315323002/diff/40001/components/nacl/loader/nacl_listener.cc#newcode478 components/nacl/loader/nacl_listener.cc:478: NaClChromeMainStartApp(nap, args); On 2014/06/10 17:35:31, bradn wrote: > On ...
6 years, 6 months ago (2014-06-10 17:40:49 UTC) #20
Peter Kasting
On 2014/06/10 17:35:31, bradn wrote: > + mseaborn > > https://codereview.chromium.org/315323002/diff/40001/components/nacl/loader/nacl_listener.cc > File components/nacl/loader/nacl_listener.cc (right): ...
6 years, 6 months ago (2014-06-10 18:07:18 UTC) #21
Mark Seaborn
On 10 June 2014 11:07, <pkasting@chromium.org> wrote: > On 2014/06/10 17:35:31, bradn wrote: > >> ...
6 years, 6 months ago (2014-06-10 18:16:52 UTC) #22
Sébastien Marchand
2014-06-10 14:16 GMT-04:00 Mark Seaborn <mseaborn@chromium.org>: > On 10 June 2014 11:07, <pkasting@chromium.org> wrote: > ...
6 years, 6 months ago (2014-06-10 18:24:58 UTC) #23
Peter Kasting
On 2014/06/10 18:24:58, Sébastien Marchand wrote: > 2014-06-10 14:16 GMT-04:00 Mark Seaborn <mailto:mseaborn@chromium.org>: > > ...
6 years, 6 months ago (2014-06-10 18:38:35 UTC) #24
Mark Seaborn
On 10 June 2014 11:24, Sébastien Marchand <sebmarchand@chromium.org> wrote: > 2014-06-10 14:16 GMT-04:00 Mark Seaborn ...
6 years, 6 months ago (2014-06-10 21:35:34 UTC) #25
Peter Kasting
I'm not opposed to splitting the two changes, but it just means we'll be continuing ...
6 years, 6 months ago (2014-06-10 21:42:50 UTC) #26
Sébastien Marchand
Thanks, I've reverted the change to nacl_listener.cc and I'll start another CL just for this ...
6 years, 6 months ago (2014-06-10 21:45:14 UTC) #27
brettw
Can you do the same in the GN build? build/config/compiler/BUILD.gn Add "/wd4702" to the list ...
6 years, 6 months ago (2014-06-11 05:03:19 UTC) #28
Sébastien Marchand
Done, PTAnL.
6 years, 6 months ago (2014-06-11 13:10:25 UTC) #29
brettw
LGTM https://codereview.chromium.org/315323002/diff/80001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/315323002/diff/80001/build/config/compiler/BUILD.gn#newcode770 build/config/compiler/BUILD.gn:770: "/wd4702", # Disable warning C4702 "unreachable code". Can ...
6 years, 6 months ago (2014-06-11 16:33:09 UTC) #30
Sébastien Marchand
Thanks, committing. https://codereview.chromium.org/315323002/diff/80001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/315323002/diff/80001/build/config/compiler/BUILD.gn#newcode770 build/config/compiler/BUILD.gn:770: "/wd4702", # Disable warning C4702 "unreachable code". ...
6 years, 6 months ago (2014-06-11 17:24:57 UTC) #31
Sébastien Marchand
The CQ bit was checked by sebmarchand@chromium.org
6 years, 6 months ago (2014-06-11 17:25:00 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/315323002/100001
6 years, 6 months ago (2014-06-11 17:29:10 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 20:38:57 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 20:48:10 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/37950)
6 years, 6 months ago (2014-06-11 20:48:11 UTC) #36
Sébastien Marchand
The CQ bit was checked by sebmarchand@chromium.org
6 years, 6 months ago (2014-06-11 21:23:27 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/315323002/100001
6 years, 6 months ago (2014-06-11 21:25:36 UTC) #38
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 21:33:29 UTC) #39
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 21:36:56 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/38017) win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/27971) win_chromium_x64_rel ...
6 years, 6 months ago (2014-06-11 21:36:56 UTC) #41
Sébastien Marchand
The CQ bit was checked by sebmarchand@chromium.org
6 years, 6 months ago (2014-06-12 13:44:54 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/315323002/100001
6 years, 6 months ago (2014-06-12 13:46:20 UTC) #43
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 18:06:39 UTC) #44
Message was sent while issue was closed.
Change committed as 276737

Powered by Google App Engine
This is Rietveld 408576698