summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_interceptors.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/asan/asan_interceptors.h')
-rw-r--r--compiler-rt/lib/asan/asan_interceptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_interceptors.h b/compiler-rt/lib/asan/asan_interceptors.h
index fc2e27cdd95..ecdf1f0262c 100644
--- a/compiler-rt/lib/asan/asan_interceptors.h
+++ b/compiler-rt/lib/asan/asan_interceptors.h
@@ -36,7 +36,7 @@
# define ASAN_INTERCEPT_MLOCKX 0
#endif
-#if SANITIZER_LINUX
+#if SANITIZER_FREEBSD || SANITIZER_LINUX
# define ASAN_USE_ALIAS_ATTRIBUTE_FOR_INDEX 1
#else
# define ASAN_USE_ALIAS_ATTRIBUTE_FOR_INDEX 0
OpenPOWER on IntegriCloud