[scudo] Fix MallocIterateBoundary test on 32 bit Android.
authorChristopher Ferris <cferris@google.com>
Wed, 14 Jun 2023 01:56:12 +0000 (18:56 -0700)
committerChristopher Ferris <cferris@google.com>
Wed, 14 Jun 2023 17:35:41 +0000 (10:35 -0700)
commit261d9e58d42efe4cfc34c5dd16b3001e4ffd39d6
tree2dd098ee735a4650cb95e0bbcf32e0429fda11d3
parent049324ac5e1d04b5711a0a23b50370ce140502e9
[scudo] Fix MallocIterateBoundary test on 32 bit Android.

On Android, the min alignment is 16 bytes. This test needs
the BlockDelta to match the min alignment, so set this value
differently for Android.

Update the comment in to explain these details.

Reviewed By: Chia-hungDuan

Differential Revision: https://reviews.llvm.org/D152884
compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp