[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:20:56 PDT 2025
================
@@ -545,15 +560,18 @@ struct __sanitizer_dirent64 {
extern unsigned struct_sock_fprog_sz;
#endif
-#if SANITIZER_HAIKU
+# if SANITIZER_HAIKU
+typedef int __sanitizer_clock_t;
+# elif SANITIZER_AIX
typedef int __sanitizer_clock_t;
-#elif defined(__x86_64__) && !defined(_LP64)
+typedef int __sanitizer_clockid_t;
----------------
hubert-reinterpretcast wrote:
Move `__sanitizer_clockid_t` definition to the next block where it is defined for other platforms.
https://github.com/llvm/llvm-project/pull/131866
More information about the llvm-commits
mailing list