[llvm] [Support] Adjust .note.GNU-stack guard in Support/BLAKE3/blake3_*_x86… (PR #76229)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 22 06:47:23 PST 2023


================
@@ -2,7 +2,7 @@
 
 #include "llvm_blake3_prefix.h"
 
-#if defined(__ELF__) && defined(__linux__)
+#if defined(__ELF__) && (defined(__linux__) || defined(__FreeBSD__) || defined(__Fuchsia__))
----------------
MaskRay wrote:

This can be defined for all ELF OSes except possibly Solaris which may use an alternative section syntax.

https://github.com/llvm/llvm-project/pull/76229


More information about the llvm-commits mailing list