[compiler-rt] [sanitizer_common] Implement address sanitizer on AIX: platform specific support (PR #131866)

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 00:48:19 PDT 2025


================
@@ -27,7 +27,7 @@
 #include <signal.h>
 #include <sys/mman.h>
 
-#if SANITIZER_FREEBSD
+#  if SANITIZER_FREEBSD || SANITIZER_AIX
 // The MAP_NORESERVE define has been removed in FreeBSD 11.x, and even before
 // that, it was never implemented.  So just define it to zero.
----------------
hubert-reinterpretcast wrote:

Comment needs update. Whitespace should also be updated for the `#endif`.

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


More information about the llvm-commits mailing list