[compiler-rt] r285177 - [lsan] Relax check for allocator_end in ProcessGlobalRegionsCallback.
Maxim Ostapenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 23:56:52 PDT 2016
Author: chefmax
Date: Wed Oct 26 01:56:51 2016
New Revision: 285177
URL: http://llvm.org/viewvc/llvm-project?rev=285177&view=rev
Log:
[lsan] Relax check for allocator_end in ProcessGlobalRegionsCallback.
Differential Revision: https://reviews.llvm.org/D25945
Modified:
compiler-rt/trunk/lib/lsan/lsan_common_linux.cc
Modified: compiler-rt/trunk/lib/lsan/lsan_common_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lsan_common_linux.cc?rev=285177&r1=285176&r2=285177&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lsan_common_linux.cc (original)
+++ compiler-rt/trunk/lib/lsan/lsan_common_linux.cc Wed Oct 26 01:56:51 2016
@@ -71,7 +71,7 @@ static int ProcessGlobalRegionsCallback(
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);
More information about the llvm-commits
mailing list