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

Issue 1982123002: In official builds, let CHECK(false) crash instead of calling BreakDebugger. (Closed)

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

Description

In official builds, let CHECK(false) crash instead of calling BreakDebugger. This should save some binary size and make things a bit faster, without ill effects. See bug comment 15, and brettw's and my comments on "[blink-dev] Update of wtf/Assertions.h, and ASSERT macros deprecation" BUG=599867 Committed: https://crrev.com/481a8ec8b24df24795c63fd4ec26f3670d516db8 Cr-Commit-Position: refs/heads/master@{#394035}

Patch Set 1 #

Total comments: 1

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M base/logging.h View 1 1 chunk +10 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Nico
I sadly noticed the "BreadDebugger" typo and will now have to fix it :-(
4 years, 7 months ago (2016-05-16 23:41:04 UTC) #2
danakj
BreadDebugger forever. LGTM https://codereview.chromium.org/1982123002/diff/1/base/logging.h File base/logging.h (right): https://codereview.chromium.org/1982123002/diff/1/base/logging.h#newcode456 base/logging.h:456: #if defined(COMPILER_GCC) || __clang__ Can you ...
4 years, 7 months ago (2016-05-16 23:43:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982123002/20001
4 years, 7 months ago (2016-05-16 23:45:03 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-17 03:09:43 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/481a8ec8b24df24795c63fd4ec26f3670d516db8 Cr-Commit-Position: refs/heads/master@{#394035}
4 years, 7 months ago (2016-05-17 03:12:27 UTC) #11
Primiano Tucci (use gerrit)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2046593002/ by primiano@chromium.org. ...
4 years, 6 months ago (2016-06-06 14:58:09 UTC) #12
Nico
Maybe we should just call abort(). That's marked noreturn, takes 0 arguments, and is standard. ...
4 years ago (2016-12-02 15:29:00 UTC) #13
Nico
4 years ago (2016-12-02 15:29:17 UTC) #14
Message was sent while issue was closed.
On 2016/12/02 15:29:00, Nico wrote:
> Maybe we should just call abort(). That's marked noreturn, takes 0 arguments,
> and is standard. What was the problem with that again? (I guess the compiler
> could still collect all calls to abort in a function in one basic block and
just
> jump to that from everywhere, like with __builtin_trap?)

Err sorry that was for a different issue.

Powered by Google App Engine
This is Rietveld 408576698