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

Issue 811083003: Only use /Gw in non-ASan builds on Windows (Closed)

Created:
5 years, 11 months ago by Timur Iskhodzhanov
Modified:
5 years, 11 months ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only use /Gw in non-ASan builds on Windows BUG=445383 NOTRY=true Committed: https://crrev.com/9bdaf3bf8c746cfcee5c2f318b8b3fb3edd782eb Cr-Commit-Position: refs/heads/master@{#309742}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Improve the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M build/common.gypi View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 18 (6 generated)
Timur Iskhodzhanov
5 years, 11 months ago (2014-12-29 19:41:33 UTC) #2
Nico
lgtm, nice catch :-) (bruce: fyi) https://codereview.chromium.org/811083003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/811083003/diff/1/build/common.gypi#newcode3376 build/common.gypi:3376: # Put data ...
5 years, 11 months ago (2014-12-29 19:50:21 UTC) #3
Timur Iskhodzhanov
Thanks! https://codereview.chromium.org/811083003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/811083003/diff/1/build/common.gypi#newcode3376 build/common.gypi:3376: # Put data in separate COMDATs, unless ASan ...
5 years, 11 months ago (2014-12-29 20:07:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811083003/20001
5 years, 11 months ago (2014-12-29 20:07:46 UTC) #6
brucedawson
One could make a case for disabling /OPT:ICF in ASAN builds instead of disabling /Gw, ...
5 years, 11 months ago (2014-12-29 20:21:12 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/41124)
5 years, 11 months ago (2014-12-29 22:00:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811083003/20001
5 years, 11 months ago (2014-12-29 22:02:37 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/41156)
5 years, 11 months ago (2014-12-29 23:58:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811083003/20001
5 years, 11 months ago (2014-12-30 02:03:58 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2014-12-30 02:04:52 UTC) #16
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9bdaf3bf8c746cfcee5c2f318b8b3fb3edd782eb Cr-Commit-Position: refs/heads/master@{#309742}
5 years, 11 months ago (2014-12-30 02:06:45 UTC) #17
Timur Iskhodzhanov
5 years, 11 months ago (2014-12-30 13:55:17 UTC) #18
Message was sent while issue was closed.
On 2014/12/29 20:21:12, brucedawson wrote:
> One could make a case for disabling /OPT:ICF in ASAN builds instead of
disabling
> /Gw, since /OPT:ICF is the linker option that controls the collapsing of bit
> identical COMDATs (both code and data). But, as long as it is only data
> collapsing that is causing problems then disabling /Gw works quite nicely, and
> has the lowest probability of having unintended consequences.

Thanks for the idea!
There is likely a precision vs binary size trade-off there, so I wouldn't jump
into trying that just yet.

I've filed
https://code.google.com/p/chromium/issues/detail?id=445577
to think about that later.

Powered by Google App Engine
This is Rietveld 408576698