[compiler-rt] r226275 - [Sanitizers] Intercept lgamma_r() on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Fri Jan 16 06:52:18 PST 2015
Author: vkutuzov
Date: Fri Jan 16 08:52:17 2015
New Revision: 226275
URL: http://llvm.org/viewvc/llvm-project?rev=226275&view=rev
Log:
[Sanitizers] Intercept lgamma_r() on FreeBSD
Committed unreviewed with permission.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h?rev=226275&r1=226274&r2=226275&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h Fri Jan 16 08:52:17 2015
@@ -196,7 +196,7 @@
#define SANITIZER_INTERCEPT_SINCOS SI_LINUX
#define SANITIZER_INTERCEPT_REMQUO SI_NOT_WINDOWS
#define SANITIZER_INTERCEPT_LGAMMA SI_NOT_WINDOWS
-#define SANITIZER_INTERCEPT_LGAMMA_R SI_LINUX
+#define SANITIZER_INTERCEPT_LGAMMA_R SI_FREEBSD || SI_LINUX
#define SANITIZER_INTERCEPT_LGAMMAL_R SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_DRAND48_R SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_RAND_R SI_MAC || SI_LINUX_NOT_ANDROID
More information about the llvm-commits
mailing list