summaryrefslogtreecommitdiff
path: root/compiler-rt/lib/esan/esan_shadow.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/esan/esan_shadow.h')
-rw-r--r--compiler-rt/lib/esan/esan_shadow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/esan/esan_shadow.h b/compiler-rt/lib/esan/esan_shadow.h
index 72a919a190d..b76a9ccbd9e 100644
--- a/compiler-rt/lib/esan/esan_shadow.h
+++ b/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