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

Unified Diff: build/config/compiler/BUILD.gn

Issue 1153153003: Revert of Use --icf=all instead of --icf=safe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 7efe1d2ca8264794f38cae0a3e4eccdcb8404844..dbe2e5744993faa616fb6f8529a5f16e8d07d67b 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -416,7 +416,7 @@
"-fuse-ld=gold",
# TODO(brettw) common.gypi has this only for target toolset.
- "-Wl,--icf=all",
+ "-Wl,--icf=safe",
# Experimentation found that using four linking threads
# saved ~20% of link time.
@@ -513,7 +513,7 @@
if (current_cpu == "arm") {
ldflags += [
# Enable identical code folding to reduce size.
- "-Wl,--icf=all",
+ "-Wl,--icf=safe",
]
}
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698