diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2013-04-23 15:59:56 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2013-04-23 15:59:56 +0000 |
commit | d36f07c7f2a915616c3f784c5f77f21f1b86817f (patch) | |
tree | dec99fa4f35d94f1d7e6020e34455e1053174d86 | |
parent | 4860c68bafe61e02a84ce8bc76095f5e5e5539e1 (diff) | |
download | compiler-rt-d36f07c7f2a915616c3f784c5f77f21f1b86817f.tar.gz |
tsan: support heap starting at 0x04c0 (used in some custom deplyments)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180116 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/tsan/rtl/tsan_platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tsan/rtl/tsan_platform.h b/lib/tsan/rtl/tsan_platform.h index 18fc8278b..b308a7112 100644 --- a/lib/tsan/rtl/tsan_platform.h +++ b/lib/tsan/rtl/tsan_platform.h @@ -65,11 +65,11 @@ namespace __tsan { #if defined(TSAN_GO) static const uptr kLinuxAppMemBeg = 0x000000000000ULL; -static const uptr kLinuxAppMemEnd = 0x00dfffffffffULL; +static const uptr kLinuxAppMemEnd = 0x04dfffffffffULL; # if SANITIZER_WINDOWS static const uptr kLinuxShadowMsk = 0x010000000000ULL; # else -static const uptr kLinuxShadowMsk = 0x100000000000ULL; +static const uptr kLinuxShadowMsk = 0x200000000000ULL; # endif // TSAN_COMPAT_SHADOW is intended for COMPAT virtual memory layout, // when memory addresses are of the 0x2axxxxxxxxxx form. |