Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Partial) Make sure CHECK() failures crash
This partial land excludes iOS and Windows where two tests currently rely on aborting a LOG(FATAL). This is going in to not backslide in platform-agnostic code. This is trying to make sure that CHECK failures effectively don't return before LOG(FATAL) is properly [[noreturn]]. A follow-up could be to split out CheckError from DcheckError to make sure the destructor can be marked [[noreturn]]. Note that this doesn't apply to the optimized version of CHECK which is already a [[noreturn]] function call, but also doesn't involve LOG(FATAL). Bug: 1409729 Change-Id: I0f08668d741a7d2c0205846d2b6478876d46841d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4257852 Reviewed-by: danakj <danakj@chromium.org> Commit-Queue: Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/main@{#1107140}
- Loading branch information