diff options
| author | Maxim Ostapenko <m.ostapenko@partner.samsung.com> | 2016-02-25 08:44:25 +0000 |
|---|---|---|
| committer | Maxim Ostapenko <m.ostapenko@partner.samsung.com> | 2016-02-25 08:44:25 +0000 |
| commit | 7389936f5727728702349da838d2efb6ec259614 (patch) | |
| tree | 81806ccb80e68fed9e438c02e39e9184e92135ea /compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h | |
| parent | 12737b7f7290218e93ac658d1ea24f7adf997143 (diff) | |
| download | bcm5719-llvm-7389936f5727728702349da838d2efb6ec259614.tar.gz bcm5719-llvm-7389936f5727728702349da838d2efb6ec259614.zip | |
[sanitizer] Move recvmsg and recv interceptors to sanitizer_common.
This patch moves recv and recvfrom interceptors from MSan and TSan to
sanitizer_common to enable them in ASan.
Differential Revision: http://reviews.llvm.org/D17479
llvm-svn: 261841
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h index 2b1cd8a11de..2b20fc3aa25 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h @@ -272,5 +272,6 @@ #define SANITIZER_INTERCEPT_CTERMID_R SI_MAC || SI_FREEBSD #define SANITIZER_INTERCEPTOR_HOOKS SI_LINUX +#define SANITIZER_INTERCEPT_RECV_RECVFROM 1 #endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H |

