summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-base_compiler__specific.h
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2024-11-05 07:31:22 +0100
committerRobert Nagy <rnagy@FreeBSD.org>2024-11-05 07:31:43 +0100
commitdd7deaddf4833301ef5aeb96dfa91faa88b03f3b (patch)
tree6ae923f1980c1caf058a106f0344eff61122df74 /www/iridium/files/patch-base_compiler__specific.h
parentbiology/seqkit: update 2.8.2 → 2.9.0 (diff)
www/iridium: update to 2024.10.130.1
Diffstat (limited to 'www/iridium/files/patch-base_compiler__specific.h')
-rw-r--r--www/iridium/files/patch-base_compiler__specific.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/iridium/files/patch-base_compiler__specific.h b/www/iridium/files/patch-base_compiler__specific.h
index 50a2950426b5..91f9e7e5bf70 100644
--- a/www/iridium/files/patch-base_compiler__specific.h
+++ b/www/iridium/files/patch-base_compiler__specific.h
@@ -1,6 +1,6 @@
---- base/compiler_specific.h.orig 2024-08-27 06:28:16 UTC
+--- base/compiler_specific.h.orig 2024-11-04 08:56:03 UTC
+++ base/compiler_specific.h
-@@ -326,7 +326,7 @@
+@@ -257,7 +257,7 @@
//
// In some cases it's desirable to remove this, e.g. on hot functions, or if
// we have purposely changed the reference canary.
@@ -9,3 +9,12 @@
#if HAS_ATTRIBUTE(__no_stack_protector__)
#define NO_STACK_PROTECTOR __attribute__((__no_stack_protector__))
#else
+@@ -388,7 +388,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
+ // See https://clang.llvm.org/docs/AttributeReference.html#preserve-most for
+ // more details.
+ #if (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \
+- !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64)) && \
++ !((BUILDFLAG(IS_WIN) || BUILDFLAG(IS_OPENBSD)) && defined(ARCH_CPU_ARM64)) && \
+ !defined(COMPONENT_BUILD) && defined(__clang__) && \
+ __clang_major__ >= 17 && HAS_ATTRIBUTE(preserve_most)
+ #define PRESERVE_MOST __attribute__((preserve_most))