forked from OSchip/llvm-project
[lsan] Relax check for allocator_end in ProcessGlobalRegionsCallback.
Differential Revision: https://reviews.llvm.org/D25945 llvm-svn: 285177
This commit is contained in:
parent
64c80b4e39
commit
6aafa89c34
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue