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

Issue 137823014: Start landing build support for Clang-style ASan on Windows (Closed)

Created:
6 years, 10 months ago by hans
Modified:
6 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, dmikurube+memory_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Start landing build support for Clang-style ASan on Windows If this breaks your SyzyASan build, make sure you're passing syzyasan=1 in GYP_DEFINES instead of asan=1. I have updated all affected buildbots I know about. BUG=82385 R=thakis@chromium.org, timurrrr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252707

Patch Set 1 #

Patch Set 2 : More hacks; now I can build base_unittests #

Patch Set 3 : More hacky, but also more robust in a way #

Patch Set 4 : Set win_use_allocator_shim to 0 #

Patch Set 5 : 2 #

Patch Set 6 : Bump clang rev to force rebuild #

Patch Set 7 : Bump clang rev to force rebuild #

Total comments: 1

Patch Set 8 : Back to relative path #

Patch Set 9 : Actually, just build 32-bit compiler-rt on the side #

Total comments: 1

Patch Set 10 : Update post-SyzyASan flag rename #

Total comments: 6

Patch Set 11 : Address thakis's comments #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -10 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 4 chunks +36 lines, -7 lines 0 comments Download
M tools/clang/scripts/update.py View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +25 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
hans
Hi Timur, with this I can build base_unittests just by setting GYP_DEFINES="clang=1 asan=1" and no ...
6 years, 10 months ago (2014-02-12 17:44:17 UTC) #1
Nico
Why do you need an absolute path? Does this mean clang is 32bit now too? ...
6 years, 10 months ago (2014-02-12 18:34:34 UTC) #2
hans
On 2014/02/12 18:34:34, Nico (away Feb 11 - Feb 17) wrote: > Why do you ...
6 years, 10 months ago (2014-02-12 19:09:44 UTC) #3
Timur Iskhodzhanov
LGTM, but you may want Nico to review too. > Does this mean clang is ...
6 years, 10 months ago (2014-02-13 09:18:30 UTC) #4
hans
I didn't like the absolute path thing. I've uploaded a new patch where I just ...
6 years, 10 months ago (2014-02-13 17:21:42 UTC) #5
hans
On 2014/02/13 17:21:42, hans wrote: > As for the 64-bit issue, I think we should ...
6 years, 10 months ago (2014-02-14 00:57:07 UTC) #6
Nico
https://codereview.chromium.org/137823014/diff/220001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/137823014/diff/220001/build/common.gypi#newcode2327 build/common.gypi:2327: ['asan==1 and OS=="win" and clang!=1', { can we replace ...
6 years, 10 months ago (2014-02-14 01:27:17 UTC) #7
hans
On 2014/02/14 01:27:17, Nico (away Feb 11 - Feb 17) wrote: > https://codereview.chromium.org/137823014/diff/220001/build/common.gypi > File ...
6 years, 10 months ago (2014-02-14 01:43:52 UTC) #8
Timur Iskhodzhanov
Totally agreed with (asan && !clang) -> syzyasan renaming and agree it should be done ...
6 years, 10 months ago (2014-02-14 05:30:33 UTC) #9
Nico
Can we do it before landing real asan stuff to gyp then? On Thu, Feb ...
6 years, 10 months ago (2014-02-14 05:34:46 UTC) #10
Nico
s/landing/adding/ On Thu, Feb 13, 2014 at 9:34 PM, Nico Weber <thakis@chromium.org> wrote: > Can ...
6 years, 10 months ago (2014-02-14 05:34:53 UTC) #11
Timur Iskhodzhanov
> Can we do it before adding real asan stuff to gyp then? Why add ...
6 years, 10 months ago (2014-02-14 08:32:48 UTC) #12
Nico
On Fri, Feb 14, 2014 at 12:32 AM, Timur Iskhodzhanov <timurrrr@chromium.org>wrote: > > Can we ...
6 years, 10 months ago (2014-02-14 18:51:48 UTC) #13
hans
On 2014/02/14 18:51:48, Nico (away Feb 11 - Feb 17) wrote: > On Fri, Feb ...
6 years, 10 months ago (2014-02-14 18:56:48 UTC) #14
hans
On 2014/02/14 18:56:48, hans wrote: > On 2014/02/14 18:51:48, Nico (away Feb 11 - Feb ...
6 years, 10 months ago (2014-02-19 02:22:56 UTC) #15
hans
On 2014/02/19 02:22:56, hans wrote: > Circling back on this, everything is now landed to ...
6 years, 10 months ago (2014-02-21 22:18:05 UTC) #16
Nico
lgtm You can do the variable scope suggestion in a follow-up if you want. https://codereview.chromium.org/137823014/diff/370001/build/common.gypi ...
6 years, 10 months ago (2014-02-21 22:22:39 UTC) #17
hans
https://codereview.chromium.org/137823014/diff/370001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/137823014/diff/370001/build/common.gypi#newcode1980 build/common.gypi:1980: ['OS=="win" and (clang==1 or asan==1)', { On 2014/02/21 22:22:40, ...
6 years, 10 months ago (2014-02-21 22:33:00 UTC) #18
hans
The CQ bit was checked by hans@chromium.org
6 years, 10 months ago (2014-02-21 22:33:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/137823014/430001
6 years, 10 months ago (2014-02-21 22:35:38 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 22:35:40 UTC) #21
commit-bot: I haz the power
Failed to apply patch for tools/clang/scripts/update.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-21 22:35:40 UTC) #22
hans
The CQ bit was checked by hans@chromium.org
6 years, 10 months ago (2014-02-21 22:46:45 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/137823014/440003
6 years, 10 months ago (2014-02-21 22:48:14 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-22 00:24:00 UTC) #25
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=268228
6 years, 10 months ago (2014-02-22 00:24:00 UTC) #26
hans
6 years, 10 months ago (2014-02-22 00:27:18 UTC) #27
Message was sent while issue was closed.
Committed patchset #12 manually as r252707 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698