diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2017-11-07 23:51:22 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2017-11-07 23:51:22 +0000 |
commit | c58a938aae7ebeaa26c4552fe4c4586c28dbf1ff (patch) | |
tree | ea4c88d0641d37efc9a730ee7cd29751ceed2d21 /lib/msan | |
parent | 697b8e7e448c385ba289d4cdb1d92e751ec9400f (diff) |
(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
Diffstat (limited to 'lib/msan')
-rw-r--r-- | lib/msan/msan_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |