summaryrefslogtreecommitdiffstats
path: root/contrib/compiler-rt/lib/esan/esan_linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/compiler-rt/lib/esan/esan_linux.cpp')
-rw-r--r--contrib/compiler-rt/lib/esan/esan_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/compiler-rt/lib/esan/esan_linux.cpp b/contrib/compiler-rt/lib/esan/esan_linux.cpp
index aa961b6..014205c 100644
--- a/contrib/compiler-rt/lib/esan/esan_linux.cpp
+++ b/contrib/compiler-rt/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'.
OpenPOWER on IntegriCloud