[PATCH] [Sanitizers] Fix inet_aton() and inet_pton() interceptors to work on FreeBSD
Phabricator
reviews at reviews.llvm.org
Thu Jan 22 00:52:39 PST 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7084
Files:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -44,6 +44,8 @@
#if SANITIZER_FREEBSD
#define pthread_setname_np pthread_set_name_np
+#define inet_aton __inet_aton
+#define inet_pton __inet_pton
#endif
#ifndef COMMON_INTERCEPTOR_INITIALIZE_RANGE
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7084.18590.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150122/75bb7f64/attachment.bin>
More information about the llvm-commits
mailing list