File chromium-109-clang-lp154.patch of Package chromium

Index: chromium-112.0.5615.20/build/config/compiler/BUILD.gn
===================================================================
--- chromium-112.0.5615.20.orig/build/config/compiler/BUILD.gn
+++ chromium-112.0.5615.20/build/config/compiler/BUILD.gn
@@ -785,16 +785,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.
-  # TODO(crbug.com/1379070): Remove if the upstream default ever changes.
-  if (is_clang && !is_nacl && !is_win && !is_apple) {
-    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.
openSUSE Build Service is sponsored by