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

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

Issue 1734043003: Add gn option 'is_lto' to enable Link Time Optimization builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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') | build/toolchain/gcc_toolchain.gni » ('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 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
}
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | build/toolchain/gcc_toolchain.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698