diff options
author | David Carlier <devnexen@gmail.com> | 2019-01-02 19:07:27 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2019-01-02 19:07:27 +0000 |
commit | 205b7093669382fe21554bdfb325a8e17b379e03 (patch) | |
tree | 51d27d7181206fb633277bb41da8cefc184cfedc /compiler-rt/lib/sanitizer_common | |
parent | Add file-based synchronization to flaky test (diff) | |
download | llvm-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.h | 2 |
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 |