diff options
author | Christopher Ferris <cferris@google.com> | 2023-06-12 18:59:01 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2023-06-12 21:51:41 -0700 |
commit | 5e691a1c9b0ad22689d4a434ddf4fed940e58dec (patch) | |
tree | 1b1f10eb34972ba701930a741c9064cc23becb1f /clang/lib/Serialization/ModuleManager.cpp | |
parent | 7928ac4e6a75c4d9e69e70e4c025119e2f9649ef (diff) | |
download | llvm-5e691a1c9b0ad22689d4a434ddf4fed940e58dec.zip llvm-5e691a1c9b0ad22689d4a434ddf4fed940e58dec.tar.gz llvm-5e691a1c9b0ad22689d4a434ddf4fed940e58dec.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions