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

Unified Diff: build/config/sanitizers/sanitizers.gni

Issue 1942563002: gn: add is_ubsan_no_recover to halt the program on the first problem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Half->Halt Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | tools/mb/mb_config.pyl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/sanitizers/sanitizers.gni
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni
index ba9c25935d9c1b0ea114ad29682d7bdb5b06cfa6..7d6a79fb2bc4c23e71806e951c63ee71466e3aa7 100644
--- a/build/config/sanitizers/sanitizers.gni
+++ b/build/config/sanitizers/sanitizers.gni
@@ -19,6 +19,9 @@ declare_args() {
# undefined behaviour (excludes vptr checks).
is_ubsan = false
+ # Halt the program if a problem is detected.
+ is_ubsan_no_recover = false
+
# Compile for Undefined Behaviour Sanitizer's vptr checks.
is_ubsan_vptr = false
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | tools/mb/mb_config.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698