[all-commits] [llvm/llvm-project] 5e691a: [scudo] Fix MallocIterateBoundary on 32 bit.
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Mon Jun 12 21:52:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5e691a1c9b0ad22689d4a434ddf4fed940e58dec
https://github.com/llvm/llvm-project/commit/5e691a1c9b0ad22689d4a434ddf4fed940e58dec
Author: Christopher Ferris <cferris at google.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
Log Message:
-----------
[scudo] Fix MallocIterateBoundary on 32 bit.
On Android, the 32 bit value of 8 for BlockDelta results in a
failure because a valid pointer can never be found.
Change the code to always use 16 which passes on both 32 bit
and 64 bit.
Verified that re-introducing the old bug causes the test to fail
on both 32 bit and 64 with the new BlockDelta value.
Reviewed By: Chia-hungDuan
Differential Revision: https://reviews.llvm.org/D152767
More information about the All-commits
mailing list