[compiler-rt] r281992 - tsan: revert r281970
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 11:05:06 PDT 2016
Author: dvyukov
Date: Tue Sep 20 13:05:06 2016
New Revision: 281992
URL: http://llvm.org/viewvc/llvm-project?rev=281992&view=rev
Log:
tsan: revert r281970
r281970 extended the check in a useful way,
but caused (true) failures on aarch64.
Revert it for now.
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc?rev=281992&r1=281991&r2=281992&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc Tue Sep 20 13:05:06 2016
@@ -292,7 +292,7 @@ static void CheckShadowMapping() {
if (beg ==end)
continue;
VPrintf(3, "checking shadow region %p-%p\n", beg, end);
- for (uptr p0 = beg; p0 <= end; p0 += (end - beg) / 16) {
+ for (uptr p0 = beg; p0 <= end; p0 += (end - beg) / 4) {
for (int x = -1; x <= 1; x++) {
const uptr p = p0 + x;
if (p < beg || p >= end)
More information about the llvm-commits
mailing list