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

Jake Egan via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 13:47:57 PST 2026


================
@@ -182,6 +186,17 @@ typedef struct user_fpregs elf_fpregset_t;
 #include <sys/ioctl.h>
 #endif
 
+#  if SANITIZER_AIX
+#    include <netinet/ip_mroute.h>
+#    include <stropts.h>
+#    include <sys/ioctl.h>
+#    include <sys/statfs.h>
+#    include <unistd.h>
+#    if HAVE_RPC_XDR_H
----------------
jakeegan wrote:

I don't think it's worth it to introduce another macro because it's the same file - just a different top level directory. 

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


More information about the llvm-commits mailing list