[sanitizer] Revert rL324263
authorKostya Kortchinsky <kostyak@google.com>
Mon, 5 Feb 2018 20:17:24 +0000 (20:17 +0000)
committerKostya Kortchinsky <kostyak@google.com>
Mon, 5 Feb 2018 20:17:24 +0000 (20:17 +0000)
commit02f6845095ee1ea0e54824a650a8f4c5d0ffd156
tree2f5add24e05fd2d785024fe4eed2f3e836f85a25
parent1c84dd9a8f5b2a1846ce7de87fb6ec67123a60f0
[sanitizer] Revert rL324263

Summary:
The 32-bit division  breaks SizeClassAllocator64PopulateFreeListOOM which uses
Primary that has a maximum size > 32-bit.

Reviewers: alekseyshl

Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D42928

llvm-svn: 324268
compiler-rt/lib/sanitizer_common/sanitizer_allocator_size_class_map.h