[compiler-rt] [asan] Implement address sanitizer on AIX: platform support (PR #139587)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 17 10:00:42 PDT 2025


================
@@ -14,7 +14,11 @@
 #include "sanitizer_common/sanitizer_platform.h"
 #if SANITIZER_POSIX
 
+// tid_t is also defined in AIX header /usr/include/sys/types.h which is
+// included by system pthread.h
+#  define tid_t tid_t_temp
 #  include <pthread.h>
+#  undef tid_t
----------------
vitalybuka wrote:

Is this rebase?

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


More information about the llvm-commits mailing list