File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler-rt/lib/sanitizer_common Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
#ifndef SANITIZER_PLATFORM_INTERCEPTORS_H
14
14
#define SANITIZER_PLATFORM_INTERCEPTORS_H
15
15
16
+ #include " sanitizer_glibc_version.h"
16
17
#include " sanitizer_internal_defs.h"
17
18
18
19
#if SANITIZER_POSIX
566
567
#define SANITIZER_INTERCEPT_GETUSERSHELL (SI_POSIX && !SI_ANDROID)
567
568
#define SANITIZER_INTERCEPT_SL_INIT (SI_FREEBSD || SI_NETBSD)
568
569
569
- #define SANITIZER_INTERCEPT_GETRANDOM SI_LINUX
570
+ #define SANITIZER_INTERCEPT_GETRANDOM ( SI_LINUX && __GLIBC_PREREQ( 2 , 25 ))
570
571
#define SANITIZER_INTERCEPT___CXA_ATEXIT SI_NETBSD
571
572
#define SANITIZER_INTERCEPT_ATEXIT SI_NETBSD
572
573
#define SANITIZER_INTERCEPT_PTHREAD_ATFORK SI_NETBSD
573
574
574
-
575
575
#endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H
You can’t perform that action at this time.
0 commit comments