Skip to content

Commit

Permalink
[sanitizer] Enable mallopt and mallinfo interceptors on Android after…
Browse files Browse the repository at this point in the history
… D93848

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D93970
  • Loading branch information
MaskRay committed Jan 1, 2021
1 parent 20670ba commit 34489da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34489da

Please sign in to comment.