[asan][aarch64] Don't use 64 bit allocator for Apple ios family
authorRoy Sundahl <rsundahl@apple.com>
Wed, 30 Nov 2022 17:57:06 +0000 (09:57 -0800)
committerRoy Sundahl <rsundahl@apple.com>
Wed, 30 Nov 2022 21:16:59 +0000 (13:16 -0800)
commitad6c8092dcb26b6991bab078e0e6cf1ab4836add
tree40602e4be616ad6a9b6c5eb5e45313da4e7e5811
parentf039a2cf107a143ea2c0cf3f2a88ec2400421287
[asan][aarch64] Don't use 64 bit allocator for Apple ios family

The recent change (https://reviews.llvm.org/D137136) to unconditionally
choose the 64 bit allocator on aarch64 breaks Apple iOS family of devices
which purposely use a smaller address space than is used with macOS.

rdar://102527313

Reviewed By: thetruestblue, yln

Differential Revision: https://reviews.llvm.org/D139030
compiler-rt/lib/sanitizer_common/sanitizer_platform.h