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

Issue 2161103002: Improve assert reporting. (Closed)

Created:
4 years, 5 months ago by bungeman-skia
Modified:
4 years, 5 months ago
Reviewers:
djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Improve assert reporting. Make SkASSERTF output readable. Ensure the assert predicate is stringified once. Make the abort code consistent. TBR=reed This doesn't change any public API, most of this should be privatized. Committed: https://skia.googlesource.com/skia/+/1f790aaeef47b02fe72b9b62d1e8c7ead85ae442

Patch Set 1 #

Patch Set 2 : Make action more consistent, check output. #

Patch Set 3 : Remove test crashes. #

Patch Set 4 : No stuttering. #

Patch Set 5 : Consistent names. #

Total comments: 2

Patch Set 6 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -15 lines) Patch
M include/core/SkPostConfig.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M include/core/SkTypes.h View 1 2 3 4 5 2 chunks +8 lines, -13 lines 0 comments Download
M src/ports/SkMemory_malloc.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (24 generated)
bungeman-skia
Lat one to touch it gets to review it.
4 years, 5 months ago (2016-07-19 21:21:32 UTC) #13
djsollen
https://codereview.chromium.org/2161103002/diff/80001/include/core/SkTypes.h File include/core/SkTypes.h (right): https://codereview.chromium.org/2161103002/diff/80001/include/core/SkTypes.h#newcode151 include/core/SkTypes.h:151: #define SkDEBUGFAILF(fmt, ...) SkDebugf(fmt"\n", __VA_ARGS__); SK_ABORT("not reached") why change ...
4 years, 5 months ago (2016-07-20 15:01:25 UTC) #18
bungeman-skia
https://codereview.chromium.org/2161103002/diff/80001/include/core/SkTypes.h File include/core/SkTypes.h (right): https://codereview.chromium.org/2161103002/diff/80001/include/core/SkTypes.h#newcode151 include/core/SkTypes.h:151: #define SkDEBUGFAILF(fmt, ...) SkDebugf(fmt"\n", __VA_ARGS__); SK_ABORT("not reached") On 2016/07/20 ...
4 years, 5 months ago (2016-07-20 16:09:28 UTC) #21
djsollen
lgtm
4 years, 5 months ago (2016-07-20 16:46:34 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2161103002/100001
4 years, 5 months ago (2016-07-20 16:48:16 UTC) #28
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 16:49:13 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/1f790aaeef47b02fe72b9b62d1e8c7ead85ae442

Powered by Google App Engine
This is Rietveld 408576698