[compiler-rt] r326111 - Fix-up for r326106: FindAvailableMemoryRange needs a nullptr as its 5th argument.
Kuba Mracek via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 26 10:44:43 PST 2018
Author: kuba.brecka
Date: Mon Feb 26 10:44:43 2018
New Revision: 326111
URL: http://llvm.org/viewvc/llvm-project?rev=326111&view=rev
Log:
Fix-up for r326106: FindAvailableMemoryRange needs a nullptr as its 5th argument.
Modified:
compiler-rt/trunk/lib/asan/asan_win.cc
Modified: compiler-rt/trunk/lib/asan/asan_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_win.cc?rev=326111&r1=326110&r2=326111&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win.cc Mon Feb 26 10:44:43 2018
@@ -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;
More information about the llvm-commits
mailing list