summaryrefslogtreecommitdiff
path: root/lib/tsan
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-09-20 18:05:06 +0000
committerDmitry Vyukov <dvyukov@google.com>2016-09-20 18:05:06 +0000
commit44a4162049e629562e38dae37fcadaa5cfe799e5 (patch)
treeb11835c6f8a3e17d8cbc4137d7da08315fa3f15c /lib/tsan
parent2bc83b9afa200d0bd2e877d6bdd055c83bf55b40 (diff)
downloadcompiler-rt-44a4162049e629562e38dae37fcadaa5cfe799e5.tar.gz
tsan: revert r281970
r281970 extended the check in a useful way, but caused (true) failures on aarch64. Revert it for now. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@281992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan')
-rw-r--r--lib/tsan/rtl/tsan_rtl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/rtl/tsan_rtl.cc b/lib/tsan/rtl/tsan_rtl.cc
index 8a45ae49f..8fe9bf8d1 100644
--- a/lib/tsan/rtl/tsan_rtl.cc
+++ b/lib/tsan/rtl/tsan_rtl.cc
@@ -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)