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

Issue 1834413002: Fast-fail to catch VC++ compiler crashes (Closed)

Created:
4 years, 8 months ago by brucedawson
Modified:
4 years, 8 months ago
Reviewers:
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

Fast-fail to catch VC++ compiler crashes The VC++ compiler and linker default to catching their crashes using structure exception handling. They then print out a helpful message. This helpful message is rarely enough information to let us diagnose what went wrong. crrev.com/1816333002 added /fastfail to the linker command line and this adds /d2FastFail to the compiler command line, for gyp and gn. These options are undocumented and unsupported but very handy - the linker /fastfail option was crucial in tracking down a linker crash. Committed: https://crrev.com/10b66c067178bfcfb89b20627f9bb4779ac2efeb Cr-Commit-Position: refs/heads/master@{#383765}

Patch Set 1 #

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

Messages

Total messages: 9 (3 generated)
brucedawson
Go fast fail! Goma got updated to handle this (try jobs are passing). With the ...
4 years, 8 months ago (2016-03-29 02:03:17 UTC) #2
scottmg
lgtm
4 years, 8 months ago (2016-03-29 17:45:37 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1834413002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834413002/1
4 years, 8 months ago (2016-03-29 17:50:41 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-03-29 17:56:03 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/10b66c067178bfcfb89b20627f9bb4779ac2efeb Cr-Commit-Position: refs/heads/master@{#383765}
4 years, 8 months ago (2016-03-29 17:57:42 UTC) #8
Nico
4 years, 8 months ago (2016-03-29 20:26:06 UTC) #9
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1843783002/ by thakis@chromium.org.

The reason for reverting is: clang-cl complains about not understanding
/d2FastFail. I added it upstream, but we need to roll that in first (or add
!is_clang checks here in the meantime if it's important to have this CL in. The
description sounds like it could wait a while, though.).

Powered by Google App Engine
This is Rietveld 408576698