[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
Tue Jul 8 19:20:05 PDT 2025
================
@@ -14,7 +14,11 @@ include(CompilerRTDarwinUtils)
check_include_file(unwind.h HAVE_UNWIND_H)
# Used by sanitizer_common and tests.
-check_include_file(rpc/xdr.h HAVE_RPC_XDR_H)
+if (${CMAKE_SYSTEM_NAME} MATCHES AIX)
+ check_include_file(tirpc/rpc/xdr.h HAVE_RPC_XDR_H)
----------------
hubert-reinterpretcast wrote:
Not specific to this patch: I am a bit concerned about this. If the CI or build system does not have this header, then changes that break the correspondence in layout would not be identified.
A separate patch should be posted to require the presence of this header (with an opt-out via CMake option). @vitalybuka, what process would you advise in terms of giving advance warning for buildbot maintainers?
https://github.com/llvm/llvm-project/pull/131866
More information about the llvm-commits
mailing list