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

Issue 1816333002: Add fastfail to VC++ linker (Closed)

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

Description

Add fastfail to VC++ linker /fastfail should get us crash dumps when the linker crashes, which it has been doing. /maxilksize is being added for consistency with gyp builds, and because the linker crashes are incremental linking related. This is being added in order to investigate a particular problem but it is a good long-term change also - crashing without a crash dump is not helpful. BUG=482671 Committed: https://crrev.com/1a87fbf87fc1ac4aaef80094be817c6b3a87dc1b Cr-Commit-Position: refs/heads/master@{#382682}

Patch Set 1 #

Patch Set 2 : Moved to correct files and added /d2FastFail #

Patch Set 3 : Fixed for gyp #

Patch Set 4 : Remove compiler switch - just leave linker switch #

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

Messages

Total messages: 25 (7 generated)
brucedawson
Consider applying this patch locally. And maybe we should land it as well - failfast ...
4 years, 9 months ago (2016-03-21 23:17:37 UTC) #2
brucedawson
Never mind - the .gn modification is in the wrong file. Please wait...
4 years, 9 months ago (2016-03-21 23:23:37 UTC) #3
brucedawson
This is ready for local use now, with gn and gyp builds. The settings are ...
4 years, 9 months ago (2016-03-21 23:51:04 UTC) #5
Nico
Making maxilksize consistent looks good (but I got the crash with a gyp build too, ...
4 years, 9 months ago (2016-03-21 23:56:16 UTC) #6
brucedawson
The crash dumps will use the default WER (Windows Error Reporting) settings, so however those ...
4 years, 9 months ago (2016-03-22 00:05:08 UTC) #7
brucedawson
scottmg@, any thoughts on this? Recording crash dumps on linker crashes seems good. I don't ...
4 years, 9 months ago (2016-03-22 18:08:36 UTC) #10
scottmg
I don't immediately see any docs for /fastfail https://msdn.microsoft.com/en-us/library/y0zzbyt4.aspx is it documented somewhere? I assume ...
4 years, 9 months ago (2016-03-22 18:28:25 UTC) #11
scottmg
Otherwise, seems fine. (OMG, Nico is away until June! wat)
4 years, 9 months ago (2016-03-22 18:29:44 UTC) #12
brucedawson
On 2016/03/22 18:29:44, scottmg wrote: > Otherwise, seems fine. > > (OMG, Nico is away ...
4 years, 9 months ago (2016-03-22 18:40:14 UTC) #13
brucedawson
/fastfail would normally trigger a WER dialog, but once crrev.com/1825163003 lands that will no longer ...
4 years, 9 months ago (2016-03-22 20:40:04 UTC) #14
brucedawson
crrev.com/1825163003 landed. PTAL at this change - I think it's ready to go now.
4 years, 9 months ago (2016-03-22 20:54:31 UTC) #15
scottmg
Locally we're going to get a crashdump and a WER dialog now, is that right? ...
4 years, 9 months ago (2016-03-22 21:08:04 UTC) #16
Nico
On 2016/03/22 18:29:44, scottmg wrote: > Otherwise, seems fine. > > (OMG, Nico is away ...
4 years, 9 months ago (2016-03-22 21:11:38 UTC) #17
brucedawson
On 2016/03/22 21:08:04, scottmg wrote: > Locally we're going to get a crashdump and a ...
4 years, 9 months ago (2016-03-22 21:15:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816333002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816333002/60001
4 years, 9 months ago (2016-03-22 21:15:33 UTC) #20
scottmg
On 2016/03/22 21:11:38, Nico (away until Mon Mar 27) wrote: > On 2016/03/22 18:29:44, scottmg ...
4 years, 9 months ago (2016-03-22 21:22:07 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-22 21:25:22 UTC) #23
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 21:27:36 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1a87fbf87fc1ac4aaef80094be817c6b3a87dc1b
Cr-Commit-Position: refs/heads/master@{#382682}

Powered by Google App Engine
This is Rietveld 408576698