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

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

Issue 1379503002: Add Undefined Behaviour sanitizer support to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
Index: build/config/compiler/compiler.gni
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
index d5db930dab419abdc41ceaf4e148f5a7239c759b..34ffb67594e81a7b74be351b50897748abf37570 100644
--- a/build/config/compiler/compiler.gni
+++ b/build/config/compiler/compiler.gni
@@ -21,7 +21,7 @@ if (symbol_level == -1) {
# Mac and Windows have them separate, so in Release Linux, default them off.
if (is_debug || !is_linux) {
symbol_level = 2
- } else if (is_asan || is_lsan || is_tsan || is_msan) {
+ } else if (is_asan || is_lsan || is_tsan || is_msan || is_ubsan) {
brettw 2015/09/29 20:05:03 Ditto
Anand Mistry (off Chromium) 2015/09/29 23:28:27 Done.
# Sanitizers require symbols for filename suppressions to work.
symbol_level = 1
} else {

Powered by Google App Engine
This is Rietveld 408576698