From 473f3fbaf8069e53b1edea415e7254fad20ec4a2 Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Mon, 26 Feb 2018 18:44:43 +0000 Subject: [PATCH] Fix-up for r326106: FindAvailableMemoryRange needs a nullptr as its 5th argument. llvm-svn: 326111 --- compiler-rt/lib/asan/asan_win.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-rt/lib/asan/asan_win.cc b/compiler-rt/lib/asan/asan_win.cc index 68eedd1..ad32118 100644 --- a/compiler-rt/lib/asan/asan_win.cc +++ b/compiler-rt/lib/asan/asan_win.cc @@ -222,8 +222,8 @@ uptr FindDynamicShadowStart() { uptr alignment = 8 * granularity; uptr left_padding = granularity; uptr space_size = kHighShadowEnd + left_padding; - uptr shadow_start = - FindAvailableMemoryRange(space_size, alignment, granularity, nullptr); + uptr shadow_start = FindAvailableMemoryRange(space_size, alignment, + granularity, nullptr, nullptr); CHECK_NE((uptr)0, shadow_start); CHECK(IsAligned(shadow_start, alignment)); return shadow_start; -- 2.7.4