[compiler-rt] 5853e1c - [sanitizers] Fix typo in ca9815fc247c
Alex Richardson via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 10 03:18:24 PST 2021
Author: Alex Richardson
Date: 2021-03-10T11:17:33Z
New Revision: 5853e1ca7fc80d998858cb139e753ce3718391c1
URL: https://github.com/llvm/llvm-project/commit/5853e1ca7fc80d998858cb139e753ce3718391c1
DIFF: https://github.com/llvm/llvm-project/commit/5853e1ca7fc80d998858cb139e753ce3718391c1.diff
LOG: [sanitizers] Fix typo in ca9815fc247c
I accidentally committed the wrong version of this patch which didn't
actually enable the hooks for FreeBSD. Fixing the typo allows the tests
to actually pass.
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
index 3c9907f1bcb8..731df710df54 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -458,7 +458,7 @@
#define SANITIZER_INTERCEPT_CTERMID_R (SI_MAC || SI_FREEBSD || SI_SOLARIS)
#define SANITIZER_INTERCEPTOR_HOOKS \
- (SI_LINUX || SI_MAC || SI_WINDOWS || SI_NETBSD || SI_NETBSD || SI_SOLARIS)
+ (SI_LINUX || SI_MAC || SI_WINDOWS || SI_FREEBSD || SI_NETBSD || SI_SOLARIS)
#define SANITIZER_INTERCEPT_RECV_RECVFROM SI_POSIX
#define SANITIZER_INTERCEPT_SEND_SENDTO SI_POSIX
#define SANITIZER_INTERCEPT_EVENTFD_READ_WRITE SI_LINUX
More information about the llvm-commits
mailing list