[PATCH] D25945: [lsan] Relax check for allocator_end in ProcessGlobalRegionsCallback.
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 00:06:22 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL285177: [lsan] Relax check for allocator_end in ProcessGlobalRegionsCallback. (authored by chefmax).
Changed prior to commit:
https://reviews.llvm.org/D25945?vs=75711&id=75833#toc
Repository:
rL LLVM
https://reviews.llvm.org/D25945
Files:
compiler-rt/trunk/lib/lsan/lsan_common_linux.cc
Index: compiler-rt/trunk/lib/lsan/lsan_common_linux.cc
===================================================================
--- compiler-rt/trunk/lib/lsan/lsan_common_linux.cc
+++ compiler-rt/trunk/lib/lsan/lsan_common_linux.cc
@@ -71,7 +71,7 @@
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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25945.75833.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161026/63f83a2c/attachment.bin>
More information about the llvm-commits
mailing list