[Sanitizers] Modified __aarch64__ to use the 64 bit version of the allocator.
authorKirill Stoimenov <kstoimenov@google.com>
Mon, 31 Oct 2022 23:29:39 +0000 (23:29 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Tue, 1 Nov 2022 20:48:42 +0000 (20:48 +0000)
commit75a8cdbc0659dc20746f31721cc48ef00c49f746
tree71b90675dc1d811960438a77f40304b26732c179
parentec0b406e16c44f1554e409b20ba6d7a76e3fe08d
[Sanitizers] Modified __aarch64__ to use the 64 bit version of the allocator.

This change will switch SizeClassAllocator32 to SizeClassAllocator64 on ARM. This might potentially affect ARM platforms with 39-bit address space. This addresses [[ https://github.com/google/sanitizers/issues/703  | issues/703  ]], but unlike [[ https://reviews.llvm.org/D60243 | D60243 ]] it defaults to 64 bit allocator.

Reviewed By: vitalybuka, MaskRay

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