diff options
Diffstat (limited to 'lib/asan')
-rw-r--r-- | lib/asan/asan_fuchsia.cc | 2 | ||||
-rw-r--r-- | lib/asan/asan_rtl.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_fuchsia.cc b/lib/asan/asan_fuchsia.cc index 02fb8be4a..0b5bff4f5 100644 --- a/lib/asan/asan_fuchsia.cc +++ b/lib/asan/asan_fuchsia.cc @@ -28,7 +28,7 @@ namespace __asan { // The system already set up the shadow memory for us. -// __sanitizer::GetMaxVirtualAddress has already been called by +// __sanitizer::GetMaxUserVirtualAddress has already been called by // AsanInitInternal->InitializeHighMemEnd (asan_rtl.cc). // Just do some additional sanity checks here. void InitializeShadowMemory() { diff --git a/lib/asan/asan_rtl.cc b/lib/asan/asan_rtl.cc index 8608e4a60..27e4bd842 100644 --- a/lib/asan/asan_rtl.cc +++ b/lib/asan/asan_rtl.cc @@ -307,7 +307,7 @@ static void asan_atexit() { static void InitializeHighMemEnd() { #if !ASAN_FIXED_MAPPING - kHighMemEnd = GetMaxVirtualAddress(); + kHighMemEnd = GetMaxUserVirtualAddress(); // Increase kHighMemEnd to make sure it's properly // aligned together with kHighMemBeg: kHighMemEnd |= SHADOW_GRANULARITY * GetMmapGranularity() - 1; |