Patch to try dump-on-DCHECK.
This patch does two things:
1. Adds a flag to switch DCHECK from logging, dumping, and then crashing the process, to only uploading a crash dump, and only on the first failed DCHECK in each process.
2. Forces that flag, and DCHECK_ALWAYS_ON, on in Windows official builds.
All non-debug e.g. CHECK behaviours remain unchanged; the intended effect is for DCHECKs to switch from no-ops to uploading dumps without crashing, in Windows official builds.
Note that this CL is intended to be landed, a branch cut to release from, and then immediately reverted; it is not intended to be landed in Chromium for any longer period.
BUG=596231
Committed: https://crrev.com/6436ac7ddec4b2b3aba4ee38aabe7dffe238a077
Cr-Commit-Position: refs/heads/master@{#383894}
Committed: https://crrev.com/bac26c8a840909a679a5a74557fa6f4f60ae9e07
Cr-Commit-Position: refs/heads/master@{#384011}
Committed: https://crrev.com/16502cb143f737bafad5d035b8ed6d76aabce288
Cr-Commit-Position: refs/heads/master@{#384675}
Review URL: https://codereview.chromium.org/1814423002
Cr-Commit-Position: refs/heads/master@{#385413}
8 files changed