summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-110-compiler.patch (renamed from www-client/chromium/files/chromium-109-compiler.patch)40
1 files changed, 23 insertions, 17 deletions
diff --git a/www-client/chromium/files/chromium-109-compiler.patch b/www-client/chromium/files/chromium-110-compiler.patch
index 7a2d43b..48724d5 100644
--- a/www-client/chromium/files/chromium-109-compiler.patch
+++ b/www-client/chromium/files/chromium-110-compiler.patch
@@ -1,8 +1,8 @@
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
-index bf8269f00..8cfed44cb 100644
+index 7183544ea..866fc0c58 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
-@@ -271,9 +271,7 @@ config("compiler") {
+@@ -276,9 +276,7 @@ config("compiler") {
configs += [
# See the definitions below.
@@ -12,12 +12,18 @@ index bf8269f00..8cfed44cb 100644
":compiler_codegen",
":compiler_deterministic",
]
-@@ -524,31 +522,6 @@ config("compiler") {
+@@ -529,37 +527,6 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
- if (is_clang && !is_nacl && current_os != "zos") {
- cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
+- if (save_reproducers_on_lld_crash && use_lld) {
+- ldflags += [
+- "-fcrash-diagnostics=all",
+- "-fcrash-diagnostics-dir=" + clang_diagnostic_dir,
+- ]
+- }
-
- # TODO(hans): Remove this once Clang generates better optimized debug info
- # by default. https://crbug.com/765793
@@ -44,7 +50,7 @@ index bf8269f00..8cfed44cb 100644
# Rust compiler setup (for either clang or rustc).
if (enable_rust) {
defines += [ "RUST_ENABLED" ]
-@@ -1269,46 +1242,6 @@ config("compiler_deterministic") {
+@@ -1315,46 +1282,6 @@ config("compiler_deterministic") {
}
}
@@ -91,7 +97,7 @@ index bf8269f00..8cfed44cb 100644
# Tells the compiler not to use absolute paths when passing the default
# paths to the tools it invokes. We don't want this because we don't
# really need it and it can mess up the goma cache entries.
-@@ -1327,26 +1260,7 @@ config("compiler_deterministic") {
+@@ -1373,26 +1300,7 @@ config("compiler_deterministic") {
}
}
@@ -119,7 +125,7 @@ index bf8269f00..8cfed44cb 100644
config("rustc_revision") {
if (enable_rust && defined(rustc_version)) {
-@@ -1637,7 +1551,7 @@ config("chromium_code") {
+@@ -1683,7 +1591,7 @@ config("chromium_code") {
defines = [ "_HAS_NODISCARD" ]
}
} else {
@@ -128,7 +134,7 @@ index bf8269f00..8cfed44cb 100644
if (treat_warnings_as_errors) {
cflags += [ "-Werror" ]
-@@ -1646,10 +1560,6 @@ config("chromium_code") {
+@@ -1692,10 +1600,6 @@ config("chromium_code") {
# well.
ldflags = [ "-Werror" ]
}
@@ -139,7 +145,7 @@ index bf8269f00..8cfed44cb 100644
# In Chromium code, we define __STDC_foo_MACROS in order to get the
# C99 macros on Mac and Linux.
-@@ -1658,16 +1568,6 @@ config("chromium_code") {
+@@ -1704,16 +1608,6 @@ config("chromium_code") {
"__STDC_FORMAT_MACROS",
]
@@ -156,7 +162,7 @@ index bf8269f00..8cfed44cb 100644
if (is_mac) {
cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
-@@ -2060,7 +1960,8 @@ config("default_stack_frames") {
+@@ -2078,7 +1972,8 @@ config("default_stack_frames") {
}
# Default "optimization on" config.
@@ -166,7 +172,7 @@ index bf8269f00..8cfed44cb 100644
if (is_win) {
if (chrome_pgo_phase != 2) {
# Favor size over speed, /O1 must be before the common flags.
-@@ -2105,7 +2006,8 @@ config("optimize") {
+@@ -2137,7 +2032,8 @@ config("optimize") {
}
# Turn off optimizations.
@@ -176,7 +182,7 @@ index bf8269f00..8cfed44cb 100644
if (is_win) {
cflags = [
"/Od", # Disable optimization.
-@@ -2145,7 +2047,8 @@ config("no_optimize") {
+@@ -2177,7 +2073,8 @@ config("no_optimize") {
# Turns up the optimization level. On Windows, this implies whole program
# optimization and link-time code generation which is very expensive and should
# be used sparingly.
@@ -186,7 +192,7 @@ index bf8269f00..8cfed44cb 100644
if (is_nacl && is_nacl_irt) {
# The NaCl IRT is a special case and always wants its own config.
# Various components do:
-@@ -2178,7 +2081,8 @@ config("optimize_max") {
+@@ -2210,7 +2107,8 @@ config("optimize_max") {
#
# TODO(crbug.com/621335) - rework how all of these configs are related
# so that we don't need this disclaimer.
@@ -196,7 +202,7 @@ index bf8269f00..8cfed44cb 100644
if (is_nacl && is_nacl_irt) {
# The NaCl IRT is a special case and always wants its own config.
# Various components do:
-@@ -2204,7 +2108,8 @@ config("optimize_speed") {
+@@ -2236,7 +2134,8 @@ config("optimize_speed") {
}
}
@@ -206,7 +212,7 @@ index bf8269f00..8cfed44cb 100644
cflags = [ "-O1" ] + common_optimize_on_cflags
rustflags = [ "-Copt-level=1" ]
ldflags = common_optimize_on_ldflags
-@@ -2324,7 +2229,8 @@ config("win_pdbaltpath") {
+@@ -2356,7 +2255,8 @@ config("win_pdbaltpath") {
}
# Full symbols.
@@ -215,8 +221,8 @@ index bf8269f00..8cfed44cb 100644
+config("xsymbols") {
if (is_win) {
if (is_clang) {
- cflags = [ "/Z7" ] # Debug information in the .obj files.
-@@ -2455,7 +2361,8 @@ config("symbols") {
+ cflags = [
+@@ -2495,7 +2395,8 @@ config("symbols") {
# Minimal symbols.
# This config guarantees to hold symbol for stack trace which are shown to user
# when crash happens in unittests running on buildbot.
@@ -226,7 +232,7 @@ index bf8269f00..8cfed44cb 100644
if (is_win) {
# Functions, files, and line tables only.
cflags = []
-@@ -2527,7 +2434,8 @@ config("minimal_symbols") {
+@@ -2568,7 +2469,8 @@ config("minimal_symbols") {
# This configuration contains function names only. That is, the compiler is
# told to not generate debug information and the linker then just puts function
# names in the final debug information.