[compiler-rt] r180116 - tsan: support heap starting at 0x04c0 (used in some custom deplyments)
Dmitry Vyukov
dvyukov at google.com
Tue Apr 23 08:59:56 PDT 2013
Author: dvyukov
Date: Tue Apr 23 10:59:56 2013
New Revision: 180116
URL: http://llvm.org/viewvc/llvm-project?rev=180116&view=rev
Log:
tsan: support heap starting at 0x04c0 (used in some custom deplyments)
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h?rev=180116&r1=180115&r2=180116&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h Tue Apr 23 10:59:56 2013
@@ -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.
More information about the llvm-commits
mailing list