aboutsummaryrefslogtreecommitdiff
path: root/contrib/compiler-rt/lib/esan/esan_shadow.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/compiler-rt/lib/esan/esan_shadow.h')
-rw-r--r--contrib/compiler-rt/lib/esan/esan_shadow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/compiler-rt/lib/esan/esan_shadow.h b/contrib/compiler-rt/lib/esan/esan_shadow.h
index 72a919a190d8..b76a9ccbd9e4 100644
--- a/contrib/compiler-rt/lib/esan/esan_shadow.h
+++ b/contrib/compiler-rt/lib/esan/esan_shadow.h
@@ -30,7 +30,7 @@ struct ApplicationRegion {
bool ShadowMergedWithPrev;
};
-#if SANITIZER_LINUX && defined(__x86_64__)
+#if (SANITIZER_LINUX || SANITIZER_FREEBSD) && defined(__x86_64__)
// Linux x86_64
//
// Application memory falls into these 5 regions (ignoring the corner case