summarylogtreecommitdiffstats
path: root/chromium-clang-r1.patch
blob: 74a08db58547cb2985b7b2237f5f981e5d2f34a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/build/config/compiler/BUILD.gn.orig	2017-10-04 08:50:15.014675936 +0000
+++ b/build/config/compiler/BUILD.gn	2017-10-04 08:50:32.831024327 +0000
@@ -429,18 +429,6 @@
     cflags += [ "-fcolor-diagnostics" ]
   }
 
-  # TODO(hans): Remove this once Clang generates better optimized debug info by
-  # default. https://crbug.com/765793
-  if (is_clang && !is_nacl && current_toolchain == host_toolchain &&
-      target_os != "chromeos") {
-    cflags += [
-      "-Xclang",
-      "-mllvm",
-      "-Xclang",
-      "-instcombine-lower-dbg-declare=0",
-    ]
-  }
-
   # Print absolute paths in diagnostics. There is no precedent for doing this
   # on Linux/Mac (GCC doesn't support it), but MSVC does this with /FC and
   # Windows developers rely on it (crbug.com/636109) so only do this on Windows.