From c58a938aae7ebeaa26c4552fe4c4586c28dbf1ff Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Tue, 7 Nov 2017 23:51:22 +0000 Subject: (NFC) Rename GetMax{,User}VirtualAddress. Future change will introduce GetMaxVirtualAddress that will not take the kernel area into account. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317638 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/msan/msan_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/msan') diff --git a/lib/msan/msan_linux.cc b/lib/msan/msan_linux.cc index a1191a100..4e6321fcb 100644 --- a/lib/msan/msan_linux.cc +++ b/lib/msan/msan_linux.cc @@ -120,7 +120,7 @@ bool InitShadow(bool init_origins) { return false; } - const uptr maxVirtualAddress = GetMaxVirtualAddress(); + const uptr maxVirtualAddress = GetMaxUserVirtualAddress(); for (unsigned i = 0; i < kMemoryLayoutSize; ++i) { uptr start = kMemoryLayout[i].start; -- cgit v1.2.3