summaryrefslogtreecommitdiff
path: root/lib/esan/esan_linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/esan/esan_linux.cpp')
-rw-r--r--lib/esan/esan_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/esan/esan_linux.cpp b/lib/esan/esan_linux.cpp
index aa961b661..014205ce0 100644
--- a/lib/esan/esan_linux.cpp
+++ b/lib/esan/esan_linux.cpp
@@ -25,7 +25,7 @@
namespace __esan {
void verifyAddressSpace() {
-#if SANITIZER_LINUX && defined(__x86_64__)
+#if SANITIZER_LINUX && (defined(__x86_64__) || SANITIZER_MIPS64)
// The kernel determines its mmap base from the stack size limit.
// Our Linux 64-bit shadow mapping assumes the stack limit is less than a
// terabyte, which keeps the mmap region above 0x7e00'.