[PATCH] D27654: Stop intercepting mallinfo and mallopt on FreeBSD

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 11:16:08 PST 2016

kcc added a comment.

Please add a test. 
I wonder if it's possible to have fewer ifdefs?

Comment at: lib/asan/asan_malloc_linux.cc:117
 // We avoid including malloc.h for portability reasons.
Not like this. 
Please add 
 to lib/sanitizer_common/sanitizer_platform_interceptors.h
then use it here. 


More information about the llvm-commits mailing list