[Sanitizers] Modified __aarch64__ to use the 64 bit version of the allocator.
authorKirill Stoimenov <kstoimenov@google.com>
Wed, 2 Nov 2022 20:58:36 +0000 (20:58 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Wed, 2 Nov 2022 21:21:30 +0000 (21:21 +0000)
commita588cfe37ea36ec4fae35a233a13d3557fba86e9
treea27cf62532683f79b8c9f218457e07571ee27bc4
parentc7576cb89d6c95f03968076e902d3adfd1996577
[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