File chromium-109-clang-lp154.patch of Package chromium.openSUSE_Backports_SLE-15-SP4_Update
Index: chromium-109.0.5414.46/build/config/compiler/BUILD.gn
===================================================================
--- chromium-109.0.5414.46.orig/build/config/compiler/BUILD.gn
+++ chromium-109.0.5414.46/build/config/compiler/BUILD.gn
@@ -766,17 +766,6 @@ config("compiler") {
cflags += [ "-fcomplete-member-pointers" ]
}
- # Use DWARF simple template names, with the following exceptions:
- #
- # * Windows is not supported as it doesn't use DWARF.
- # * Apple platforms (e.g. MacOS, iPhone, iPad) aren't supported because xcode
- # lldb doesn't have the needed changes yet.
- # * Fuchsia isn't supported as zxdb doesn't support simple template names yet.
- # TODO(crbug.com/1379070): Remove if the upstream default ever changes.
- if (is_clang && !is_nacl && !is_win && !is_apple && !is_fuchsia) {
- cflags_cc += [ "-gsimple-template-names" ]
- }
-
# MLGO specific flags. These flags enable an ML-based inliner trained on
# Chrome on Android (arm32) with ThinLTO enabled, optimizing for size.
# The "release" ML model is embedded into clang as part of its build.