summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alkondratenko@gmail.com>2017-05-22 02:39:29 -0700
committerAliaksey Kandratsenka <alkondratenko@gmail.com>2017-05-22 03:08:30 -0700
commit0c0e2fe43b5095d19470abdc3b4d83613fe37c6d (patch)
tree300b006af9544ac7da9a246296351103743dd67e
parent83d6818295cb337b6201fe307e15755df9dcd47f (diff)
downloadgperftools-0c0e2fe43b5095d19470abdc3b4d83613fe37c6d.tar.gz
enable 48-bit page map on msvc as well
-rw-r--r--src/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index a5801b7..02a2a30 100644
--- a/src/common.h
+++ b/src/common.h
@@ -121,7 +121,7 @@ static const int kMaxDynamicFreeListLength = 8192;
static const Length kMaxValidPages = (~static_cast<Length>(0)) >> kPageShift;
-#if __aarch64__ || __x86_64__
+#if __aarch64__ || __x86_64__ || _M_AMD64 || _M_ARM64
// All current x86_64 processors only look at the lower 48 bits in
// virtual to physical address translation. The top 16 are all same as
// bit 47. And bit 47 value 1 reserved for kernel-space addresses in