Files
chromium/source-files/chromium-147-revert-clang-no-lifetime-dse-flag.patch
T

17 lines
601 B
Diff

--- a/build/config/compiler/BUILD.gn.orig 2026-04-08 10:52:06.044206796 +0000
+++ b/build/config/compiler/BUILD.gn 2026-04-08 10:54:23.302307784 +0000
@@ -613,13 +613,6 @@ config("compiler") {
]
}
- # The performance improvement does not seem worth the risk. See
- # https://crbug.com/484082200 for background and https://crrev.com/c/7593035
- # for discussion.
- if (!is_wasm) {
- cflags += [ "-fno-lifetime-dse" ]
- }
-
# TODO(hans): Remove this once Clang generates better optimized debug info
# by default. https://crbug.com/765793
cflags += [