[Arm][libsanitizer] Fix arm libsanitizer failure with bleeding edge glibc
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Fri, 18 Oct 2019 11:01:45 +0000 (11:01 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Fri, 18 Oct 2019 11:01:45 +0000 (11:01 +0000)
commit9c155985f17fd369bbba311b714fb6c01c17d66e
tree196b57de74e5321b91bbccd13ca775524862fd46
parenteb34c3e8a4a8311a4df5f13b217275e7c1985dc8
[Arm][libsanitizer] Fix arm libsanitizer failure with bleeding edge glibc

Glibc has recently introduced changed to the mode field in ipc_perm in commit
2f959dfe849e0646e27403f2e4091536496ac0f0. For Arm this means that the mode
field no longer has the same size.

This causes an assert failure against libsanitizer's internal copy of ipc_perm.
Since this change can't be easily detected I am adding arm to the list of
targets that are excluded from this check.

Patch by: Tamar Christina

Differential Revision: https://reviews.llvm.org/D69104

llvm-svn: 375220
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp