File chromium-114-lld-argument.patch of Package chromium2
Index: chromium-120.0.6099.35/build/config/compiler/BUILD.gn
===================================================================
--- chromium-120.0.6099.35.orig/build/config/compiler/BUILD.gn
+++ chromium-120.0.6099.35/build/config/compiler/BUILD.gn
@@ -747,13 +747,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" ]
- }
}
# TODO(https://crbug.com/1211155): investigate why this isn't effective on