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

Issue 2216183002: Only use sanitizers with default toolchain on Windows as well. (Closed)

Created:
4 years, 4 months ago by Nico
Modified:
4 years, 4 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, Reid Kleckner, etienneb
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only use sanitizers with default toolchain on Windows as well. There's currently code to disable sanitizers for non-default toolchains in gcc_toolchain.gni. Move it to sanitizers.gni, then it's closer to where all these args are declared and it works on Windows as well. No intended behavior change on non-Windows. BUG=598761 TBR=dpranke Committed: https://crrev.com/146d122ae8ed166f294231fbe6ca340ceffc356b Cr-Commit-Position: refs/heads/master@{#409963}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -22 lines) Patch
M build/config/sanitizers/sanitizers.gni View 1 chunk +24 lines, -0 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 chunk +0 lines, -22 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Nico
This is for https://bugs.chromium.org/p/chromium/issues/detail?id=598761#c63 This seemed a bit nicer to me than duplicating this (as ...
4 years, 4 months ago (2016-08-05 00:51:33 UTC) #4
Nico
ima tbr this – it seems to work locally (I generated asan ninja files on ...
4 years, 4 months ago (2016-08-05 01:43:38 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/146d122ae8ed166f294231fbe6ca340ceffc356b Cr-Commit-Position: refs/heads/master@{#409963}
4 years, 4 months ago (2016-08-05 01:48:22 UTC) #8
Dirk Pranke
it's a little strange (i.e., unidiomatic) to un-set values in the .gni file like this, ...
4 years, 4 months ago (2016-08-05 20:17:10 UTC) #9
brettw
I think this approach is undesirable in GN, just as it would be in C++. ...
4 years, 4 months ago (2016-08-06 04:48:19 UTC) #10
Nico
Sorry, I forgot about this until now. Thanks for the concrete suggestions! On 2016/08/06 04:48:19, ...
4 years, 4 months ago (2016-08-09 01:32:53 UTC) #11
brettw
On 2016/08/09 01:32:53, Nico (away until Mon Aug 22) wrote: > Sorry, I forgot about ...
4 years, 4 months ago (2016-08-09 20:10:28 UTC) #12
Dirk Pranke
4 years, 4 months ago (2016-08-09 20:47:50 UTC) #13
Message was sent while issue was closed.
GN doesn't complain if you set is_asan=true in args.gn when using your second
approach?

I guess maybe it doesn't because we probably have other args that are only
declared in some toolchains ...

I'm still not super-happy about this solution but I'm not super-happy about any
other solution, either.

Powered by Google App Engine
This is Rietveld 408576698