diff options
| author | Ian Anderson <iana@apple.com> | 2022-07-18 22:52:09 -0700 |
|---|---|---|
| committer | Ian Anderson <iana@apple.com> | 2022-07-20 22:28:07 -0700 |
| commit | 28800c2e18972935cd4f942aa428c5e6cc4c1670 (patch) | |
| tree | 9a199f9a74af068a8be42a40e2ee769a65694c2c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 339392ecf25d75fb9b448c38c5bbb48764aa06a4 (diff) | |
[sanitizer] Use consistent checks for XDR
sanitizer_platform_limits_posix.h defines `__sanitizer_XDR ` if `SANITIZER_LINUX && !SANITIZER_ANDROID`, but sanitizer_platform_limits_posix.cpp tries to check it if `HAVE_RPC_XDR_H`. This coincidentally works because macOS has a broken <rpc/xdr.h> which causes `HAVE_RPC_XDR_H` to be 0, but if <rpc/xdr.h> is fixed then clang fails to compile on macOS. Restore the platform checks so that <rpc/xdr.h> can be fixed on macOS.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D130060
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
