diff options
author | Maxim Ostapenko <m.ostapenko@partner.samsung.com> | 2016-10-26 06:56:51 +0000 |
---|---|---|
committer | Maxim Ostapenko <m.ostapenko@partner.samsung.com> | 2016-10-26 06:56:51 +0000 |
commit | 0d488c299a33fa248b9d471e10f0a0d5a7c444c6 (patch) | |
tree | 059c7eb9a82531d66e1d2dd59e300f0a40c5422e /lib/lsan | |
parent | e04d43d1faef8e09550a899fe4d0e4cf46570ce4 (diff) |
[lsan] Relax check for allocator_end in ProcessGlobalRegionsCallback.
Differential Revision: https://reviews.llvm.org/D25945
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@285177 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/lsan')
-rw-r--r-- | lib/lsan/lsan_common_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsan/lsan_common_linux.cc b/lib/lsan/lsan_common_linux.cc index 1f5430395..f6154d8b9 100644 --- a/lib/lsan/lsan_common_linux.cc +++ b/lib/lsan/lsan_common_linux.cc @@ -71,7 +71,7 @@ static int ProcessGlobalRegionsCallback(struct dl_phdr_info *info, size_t size, GetAllocatorGlobalRange(&allocator_begin, &allocator_end); if (begin <= allocator_begin && allocator_begin < end) { CHECK_LE(allocator_begin, allocator_end); - CHECK_LT(allocator_end, end); + CHECK_LE(allocator_end, end); if (begin < allocator_begin) ScanRangeForPointers(begin, allocator_begin, frontier, "GLOBAL", kReachable); |