Group :: Networking/WWW
RPM: chromium
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 0014-ALT-Disable-NOMERGE-attribute.patch
Download
Download
From 498299bceade0abc33ceae938d0770f11141d764 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Fri, 16 Apr 2021 12:03:08 +0300
Subject: [PATCH] ALT: Disable NOMERGE attribute
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
base/compiler_specific.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/compiler_specific.h b/base/compiler_specific.h
index d53387f3dbe..7c91bd3865b 100644
--- a/base/compiler_specific.h
+++ b/base/compiler_specific.h
@@ -358,21 +358,21 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
#else // !defined(__clang_analyzer__)
#define ANALYZER_ASSUME_TRUE(arg) (arg)
#define ANALYZER_SKIP_THIS_PATH()
#define ANALYZER_ALLOW_UNUSED(var) static_cast<void>(var);
#endif // defined(__clang_analyzer__)
// Use nomerge attribute to disable optimization of merging multiple same calls.
-#if defined(__clang__) && __has_attribute(nomerge)
+#if 0 && defined(__clang__) && __has_attribute(nomerge)
#define NOMERGE [[clang::nomerge]]
#else
#define NOMERGE
#endif
// Marks a type as being eligible for the "trivial" ABI despite having a
// non-trivial destructor or copy/move constructor. Such types can be relocated
// after construction by simply copying their memory, which makes them eligible
// to be passed in registers. The canonical example is std::unique_ptr.
//
--
2.25.4