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

Issue 1942563002: gn: add is_ubsan_no_recover to halt the program on the first problem. (Closed)

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

Description

gn: add is_ubsan_no_recover to halt the program on the first problem. BUG=606003 Committed: https://crrev.com/4e1a01ea5781f1ddce3c38c2d96ba1ba18b95d1a Cr-Commit-Position: refs/heads/master@{#390841}

Patch Set 1 #

Patch Set 2 : activate on bots #

Total comments: 2

Patch Set 3 : Half->Halt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M build/config/sanitizers/BUILD.gn View 2 chunks +7 lines, -0 lines 0 comments Download
M build/config/sanitizers/sanitizers.gni View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tools/mb/mb_config.pyl View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
krasin
4 years, 7 months ago (2016-04-30 01:36:22 UTC) #2
Dirk Pranke
lgtm w/ nit. https://codereview.chromium.org/1942563002/diff/20001/build/config/sanitizers/sanitizers.gni File build/config/sanitizers/sanitizers.gni (right): https://codereview.chromium.org/1942563002/diff/20001/build/config/sanitizers/sanitizers.gni#newcode22 build/config/sanitizers/sanitizers.gni:22: # Half the program if a ...
4 years, 7 months ago (2016-04-30 01:38:19 UTC) #4
krasin
https://codereview.chromium.org/1942563002/diff/20001/build/config/sanitizers/sanitizers.gni File build/config/sanitizers/sanitizers.gni (right): https://codereview.chromium.org/1942563002/diff/20001/build/config/sanitizers/sanitizers.gni#newcode22 build/config/sanitizers/sanitizers.gni:22: # Half the program if a problem is detected. ...
4 years, 7 months ago (2016-04-30 01:40:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1942563002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1942563002/40001
4 years, 7 months ago (2016-04-30 01:41:06 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-30 02:51:19 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/4e1a01ea5781f1ddce3c38c2d96ba1ba18b95d1a Cr-Commit-Position: refs/heads/master@{#390841}
4 years, 7 months ago (2016-04-30 17:31:05 UTC) #10
Nico
I needed this today and was confused by: 1. This being a negated constant. I ...
4 years ago (2016-12-02 22:21:32 UTC) #13
krasin1
4 years ago (2016-12-02 22:39:35 UTC) #14
Message was sent while issue was closed.
On 2016/12/02 22:21:32, Nico wrote:
> I needed this today and was confused by:
> 
> 1. This being a negated constant. I think "ubsan_recover" would be much easier
> to understand (thinking "_no_recover is false which is a double negation so
that
> means yes recover" always confuses me)
> 
> 2. Stopping on the first error not being the default. (This might not be
fixable
> due to tons of things being broken, but I thought I'd mention it.)

This CL (if I recall correctly) mirrored GYP behavior. Now that GYP is gone, we
can make a change and revert the default behavior and the optional switch as you
have suggested.

Powered by Google App Engine
This is Rietveld 408576698