aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-01-02 19:07:27 +0000
committerDavid Carlier <devnexen@gmail.com>2019-01-02 19:07:27 +0000
commit205b7093669382fe21554bdfb325a8e17b379e03 (patch)
tree51d27d7181206fb633277bb41da8cefc184cfedc /compiler-rt/lib/sanitizer_common
parentAdd file-based synchronization to flaky test (diff)
downloadllvm-project-205b7093669382fe21554bdfb325a8e17b379e03.tar.gz
llvm-project-205b7093669382fe21554bdfb325a8e17b379e03.tar.bz2
llvm-project-205b7093669382fe21554bdfb325a8e17b379e03.zip
[Sanitizer] Enable funopen on FreeBSD
Reviewers: krytarowski Reviewed By: krytarowski Differential Revision: https://reviews.llvm.org/D56209 llvm-svn: 350248
Diffstat (limited to 'compiler-rt/lib/sanitizer_common')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
index 1c60e514a1a3..c27a62e76233 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -551,7 +551,7 @@
#define SANITIZER_INTERCEPT_POPEN SI_POSIX
#define SANITIZER_INTERCEPT_POPENVE SI_NETBSD
#define SANITIZER_INTERCEPT_PCLOSE SI_POSIX
-#define SANITIZER_INTERCEPT_FUNOPEN SI_NETBSD
+#define SANITIZER_INTERCEPT_FUNOPEN (SI_NETBSD || SI_FREEBSD)
#define SANITIZER_INTERCEPT_FUNOPEN2 SI_NETBSD
#endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H