`sanitizer_common` and its tests depend on the RPC XDR header for layout compatibility. When this header is absent from a CI or build environment, changes that silently break the expected struct layout go undetected, since there is nothing to fail the build. The default is opt-in — error on missing header is on by default for AIX (where the dependency is known and the package is `bos.net.nfs.adt`) and off by default elsewhere. Changes: 1. On AIX, checks for `tirpc/rpc/xdr.h`; on all other platforms, checks for `rpc/xdr.h` 2. Introduces `COMPILER_RT_REQUIRE_RPC_XDR_H` CMake option (default ON on AIX, OFF elsewhere) that, when set, turns a missing header into a fatal configuration error with an actionable message 3. Drive-by fix: Normalizes `HAVE_RPC_XDR_H` to 0 when the header is absent, for consistent downstream `if()/#cmakedefine` behavior
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================