|
@@ -1,8 +1,8 @@
|
|
|
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
|
|
-index 80bc79e5fb3..13b200e4cb0 100644
|
|
|
+index 89b4755ac8b3..94b457385663 100644
|
|
|
--- a/build/config/compiler/BUILD.gn
|
|
|
+++ b/build/config/compiler/BUILD.gn
|
|
|
-@@ -616,24 +616,6 @@ config("compiler") {
|
|
|
+@@ -618,24 +618,6 @@ config("compiler") {
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -27,25 +27,14 @@ index 80bc79e5fb3..13b200e4cb0 100644
|
|
|
# TODO(crbug.com/1235145): Investigate why/if this should be needed.
|
|
|
if (is_win) {
|
|
|
cflags += [ "/clang:-ffp-contract=off" ]
|
|
|
-@@ -768,7 +750,6 @@ config("compiler") {
|
|
|
- ldflags += [
|
|
|
- "/opt:lldltojobs=all",
|
|
|
- "-mllvm:-import-instr-limit=$import_instr_limit",
|
|
|
-- "-mllvm:-disable-auto-upgrade-debug-info",
|
|
|
- ]
|
|
|
- } else {
|
|
|
- ldflags += [ "-flto=thin" ]
|
|
|
-@@ -800,13 +781,6 @@ config("compiler") {
|
|
|
+@@ -802,10 +784,6 @@ config("compiler") {
|
|
|
if (is_apple) {
|
|
|
ldflags += [ "-Wcrl,object_path_lto" ]
|
|
|
}
|
|
|
-- if (!is_chromeos) {
|
|
|
-- # TODO(https://crbug.com/972449): turn on for ChromeOS when that
|
|
|
-- # toolchain has this flag.
|
|
|
-- # We only use one version of LLVM within a build so there's no need to
|
|
|
-- # upgrade debug info, which can be expensive since it runs the verifier.
|
|
|
-- ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
|
|
|
-- }
|
|
|
+-
|
|
|
+- # We only use one version of LLVM within a build so there's no need to
|
|
|
+- # upgrade debug info, which can be expensive since it runs the verifier.
|
|
|
+- ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
|
|
|
}
|
|
|
|
|
|
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
|