aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/llvm10-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/llvm10-compat.patch')
-rw-r--r--community/chromium/llvm10-compat.patch93
1 files changed, 0 insertions, 93 deletions
diff --git a/community/chromium/llvm10-compat.patch b/community/chromium/llvm10-compat.patch
deleted file mode 100644
index b39db0af2d..0000000000
--- a/community/chromium/llvm10-compat.patch
+++ /dev/null
@@ -1,93 +0,0 @@
---- build/config/compiler/BUILD.gn.orig
-+++ build/config/compiler/BUILD.gn
-@@ -604,9 +604,6 @@
- # Experimentally determined to yield a reasonable trade-off between
- # build time, run-time performance, and binary size.
- "-mllvm:-import-instr-limit=10",
--
-- # TODO(https://crbug.com/1127713): Investigate, remove.
-- "-mllvm:-enable-dse-memoryssa=false",
- ]
- } else {
- ldflags += [ "-flto=thin" ]
-@@ -631,9 +628,6 @@
- "-Wl,--thinlto-cache-policy,$cache_policy",
- ]
-
-- # TODO(https://crbug.com/1127713): Investigate, remove.
-- ldflags += [ "-Wl,-mllvm,-enable-dse-memoryssa=false" ]
--
- ldflags += [ "-Wl,--lto-O" + lto_opt_level ]
- if (thin_lto_enable_optimizations) {
- # TODO(gbiv): We ideally shouldn't need to specify this; ThinLTO
-@@ -748,7 +742,6 @@
- # simplicity we always explicitly set the architecture.
- if (current_cpu == "x64") {
- cflags += [
-- "-m64",
- "-march=$x64_arch",
- ]
- ldflags += [ "-m64" ]
-@@ -1045,11 +1038,9 @@
- cflags += [ "-maix64" ]
- ldflags += [ "-maix64" ]
- } else {
-- cflags += [ "-m64" ]
- ldflags += [ "-m64" ]
- }
- } else if (current_cpu == "s390x") {
-- cflags += [ "-m64" ]
- ldflags += [ "-m64" ]
- }
- }
-@@ -1514,11 +1505,6 @@
- # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not
- # recognize.
- cflags += [
-- # An ABI compat warning we don't care about, https://crbug.com/1102157
-- # TODO(thakis): Push this to the (few) targets that need it,
-- # instead of having a global flag.
-- "-Wno-psabi",
--
- # Ignore warnings about MSVC optimization pragmas.
- # TODO(thakis): Only for no_chromium_code? http://crbug.com/912662
- "-Wno-ignored-pragma-optimize",
-@@ -1534,9 +1520,6 @@
-
- # TODO(https://crbug.com/1028110): Evaluate and possible enable.
- "-Wno-deprecated-copy",
--
-- # TODO(https://crbug.com/1050281): Clean up, enable.
-- "-Wno-non-c-typedef-for-linkage",
- ]
-
- cflags_c += [
-@@ -1550,7 +1533,7 @@
- }
-
- if (enable_wmax_tokens) {
-- cflags += [ "-Wmax-tokens" ]
-+ cflags += [ ]
- } else {
- # TODO(https://crbug.com/1049569): Remove after Clang 87b235db.
- cflags += [ "-Wno-max-tokens" ]
---- third_party/openscreen/src/build/config/BUILD.gn
-+++ third_party/openscreen/src/build/config/BUILD.gn
-@@ -53,7 +53,6 @@
-
- if (current_cpu == "x64") {
- # These are explicitly specified in case of cross-compiling.
-- cflags += [ "-m64" ]
- ldflags += [ "-m64" ]
- } else if (current_cpu == "x86") {
- cflags += [ "-m32" ]
---- third_party/swiftshader/BUILD.gn
-+++ third_party/swiftshader/BUILD.gn
-@@ -94,7 +94,6 @@
-
- if (current_cpu == "x64") { # 64 bit version
- cflags += [
-- "-m64",
- "-fPIC",
- "-march=x86-64",
- "-mtune=generic",