File chromium-114-lld-argument.patch of Package chromium-ffmpeg-extra (Revision b30401c0254353da4e772a68807e8dc6)
Currently displaying revision b30401c0254353da4e772a68807e8dc6 , Show latest
19
1
diff --git a/BUILD.gn b/BUILD.gn.new
2
index 28c2255..7f89fe6 100644
3
--- a/build/config/compiler/BUILD.gn
4
+++ b/build/config/compiler/BUILD.gn
5
6
7
ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ]
8
9
- if (!is_chromeos) {
10
- # TODO(https://crbug.com/972449): turn on for ChromeOS when that
11
- # toolchain has this flag.
12
- # We only use one version of LLVM within a build so there's no need to
13
- # upgrade debug info, which can be expensive since it runs the verifier.
14
- ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
15
- }
16
}
17
18
# TODO(https://crbug.com/1211155): investigate why this isn't effective on
19