tsan: support heap starting at 0x04c0 (used in some custom deplyments)

llvm-svn: 180116
This commit is contained in:
Dmitry Vyukov 2013-04-23 15:59:56 +00:00
parent b716e622ae
commit c63d73e59d
1 changed files with 2 additions and 2 deletions

View File

@ -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.