diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-12-10 11:44:09 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-12-10 11:44:09 +0000 |
commit | e14d29b1de2965b4b62bfdd3daf83a698befb2da (patch) | |
tree | 1dd4fb612a9bf8a26cf2acbff09ab48efd16b0e4 | |
parent | 7b86b77248e261cc99b00bd6105cbfa859f0de81 (diff) | |
download | bcm5719-llvm-e14d29b1de2965b4b62bfdd3daf83a698befb2da.tar.gz bcm5719-llvm-e14d29b1de2965b4b62bfdd3daf83a698befb2da.zip |
[sanitizer] Disable compile-time checks for __kernel_old_uid_t size on aarch64.
Should fix PR21476.
llvm-svn: 223925
-rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc index fc095224f92..6ffc1433cdd 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc @@ -1005,8 +1005,12 @@ CHECK_SIZE_AND_OFFSET(__sysctl_args, newlen); CHECK_TYPE_SIZE(__kernel_uid_t); CHECK_TYPE_SIZE(__kernel_gid_t); + +#if !defined(__aarch64__) CHECK_TYPE_SIZE(__kernel_old_uid_t); CHECK_TYPE_SIZE(__kernel_old_gid_t); +#endif + CHECK_TYPE_SIZE(__kernel_off_t); CHECK_TYPE_SIZE(__kernel_loff_t); CHECK_TYPE_SIZE(__kernel_fd_set); |