[lsan] Relax check for allocator_end in ProcessGlobalRegionsCallback.

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

llvm-svn: 285177
This commit is contained in:
Maxim Ostapenko 2016-10-26 06:56:51 +00:00
parent 64c80b4e39
commit 6aafa89c34
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ static int ProcessGlobalRegionsCallback(struct dl_phdr_info *info, size_t size,
GetAllocatorGlobalRange(&allocator_begin, &allocator_end); GetAllocatorGlobalRange(&allocator_begin, &allocator_end);
if (begin <= allocator_begin && allocator_begin < end) { if (begin <= allocator_begin && allocator_begin < end) {
CHECK_LE(allocator_begin, allocator_end); CHECK_LE(allocator_begin, allocator_end);
CHECK_LT(allocator_end, end); CHECK_LE(allocator_end, end);
if (begin < allocator_begin) if (begin < allocator_begin)
ScanRangeForPointers(begin, allocator_begin, frontier, "GLOBAL", ScanRangeForPointers(begin, allocator_begin, frontier, "GLOBAL",
kReachable); kReachable);