forked from OSchip/llvm-project
[sanitizer] Enable mallopt and mallinfo interceptors on Android after D93848
Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D93970
This commit is contained in:
parent
20670ba440
commit
34489da81b
|
@ -481,7 +481,7 @@
|
|||
|
||||
#define SANITIZER_INTERCEPT_MMAP SI_POSIX
|
||||
#define SANITIZER_INTERCEPT_MMAP64 SI_LINUX_NOT_ANDROID
|
||||
#define SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO SI_GLIBC
|
||||
#define SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO (SI_GLIBC || SI_ANDROID)
|
||||
#define SANITIZER_INTERCEPT_MEMALIGN \
|
||||
(!SI_FREEBSD && !SI_MAC && !SI_NETBSD && SI_NOT_RTEMS)
|
||||
#define SANITIZER_INTERCEPT___LIBC_MEMALIGN SI_GLIBC
|
||||
|
|
Loading…
Reference in New Issue