Index: build/config/sanitizers/BUILD.gn |
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn |
index 637fc881174f37fbcf016d8e314c1f3315ba55fb..459b73e3bba849b2e1e1553fef8437f887c1e329 100644 |
--- a/build/config/sanitizers/BUILD.gn |
+++ b/build/config/sanitizers/BUILD.gn |
@@ -272,8 +272,8 @@ config("common_sanitizer_flags") { |
} |
# Common options for AddressSanitizer, LeakSanitizer, ThreadSanitizer, |
- # MemorySanitizer and non-official CFI builds. |
- if (using_sanitizer || (is_cfi && !is_official_build)) { |
+ # MemorySanitizer and CFI with diagnostics. |
+ if (using_sanitizer) { |
if (is_posix) { |
cflags += [ "-fno-omit-frame-pointer" ] |
Nico
2017/06/19 19:29:41
This still doesn't happen in prod builds, right? C
pcc1
2017/06/19 22:18:52
That would essentially forbid sanitizers in offici
Nico
2017/06/19 23:50:28
I think so? Not sure, but with this change it see
pcc1
2017/06/19 23:59:08
Seems reasonable enough. I was imagining that peop
|
} else { |