Index: build/config/sanitizers/sanitizers.gni |
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni |
index bd89cdbfac0f6efa93f9a5865f6d8cf36bf24b5e..032380780236e6d23471a184a5ad34b009da1129 100644 |
--- a/build/config/sanitizers/sanitizers.gni |
+++ b/build/config/sanitizers/sanitizers.gni |
@@ -68,6 +68,10 @@ declare_args() { |
use_custom_libcxx = |
(is_asan && is_linux) || is_tsan || is_msan || is_ubsan || use_libfuzzer |
+ # Enable Link Time Optimization (output programs runs faster, |
+ # but linking is up to 5-20x slower. |
+ is_lto = is_cfi |
brettw
2016/03/24 20:27:46
This shouldn't be in this file because it has noth
|
+ |
use_sanitizer_coverage = use_libfuzzer |
} |