commit | 289477f6c6cfc2ca788955623aede8ed02c08012 | [log] [tgz] |
---|---|---|
author | Wez <[email protected]> | Thu Aug 24 20:51:30 2017 |
committer | Commit Bot <[email protected]> | Thu Aug 24 20:51:30 2017 |
tree | e3c69e03297a360a049a139d1669bed30a393780 | |
parent | 546bd7074d0a7b96e56d717047c41f3e98768f21 [diff] |
Allow LOG_DCHECK to be configured via Feature in SyzyASAN builds. This CL supports an experiment to enable DCHECKs in some Canary builds, in order to gather data on broken DCHECK'd invariants, e.g. due to faulty calling code or incorrect/over-zealous DCHECKing. This CL changes the LOG_DCHECK LogSeverity to be switchable at run- time in SyzyASAN builds with DCHECKs enabled, based on the setting of a "DcheckIsFatal" Feature. The Feature defaults to off, with an exception for death-test child processes to allow death-tests to continue to work without modification. This means that DCHECKs will be compiled-in and generate INFO level log output, and can be switched via the command-line, or via Finch experiment, to be made fatal. Bug: 596231 Change-Id: I390aecdba40c8a8b396d6a4a03162ff071e9c3d5 Reviewed-on: https://chromium-review.googlesource.com/559809 Commit-Queue: Wez <[email protected]> Reviewed-by: Sigurður Ásgeirsson <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Alexei Svitkine (very slow) <[email protected]> Cr-Commit-Position: refs/heads/master@{#497183}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .