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

Unified Diff: build/config/BUILD.gn

Issue 2028383006: Add GN configs for -fsanitizer=null. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | build/config/sanitizers/BUILD.gn » ('j') | build/config/sanitizers/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 259c0158003e60e189829f197f0b57ba6024722e..69e24cf7a5128d42043e12a1c7775e154a2ccb95 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -165,7 +165,7 @@ config("feature_flags") {
if (is_msan) {
defines += [ "MEMORY_SANITIZER" ]
}
- if (is_ubsan || is_ubsan_vptr || is_ubsan_security) {
+ if (is_ubsan || is_ubsan_null || is_ubsan_vptr || is_ubsan_security) {
defines += [ "UNDEFINED_SANITIZER" ]
}
if (enable_webrtc) {
« no previous file with comments | « no previous file | build/config/sanitizers/BUILD.gn » ('j') | build/config/sanitizers/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698