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

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 15:26:02 PST 2017


dim updated this revision to Diff 84184.
dim added a comment.

- Stop intercepting more functions that don't exist on FreeBSD/Mac: cfree, memalign, pvalloc
- Use macros similar to TSan for InitializeInterceptors to reduce #ifdef soup
- Handle all not-to-be intercepted functions with individual compile/link invocations


https://reviews.llvm.org/D27654

Files:
  lib/asan/asan_malloc_linux.cc
  lib/lsan/lsan_interceptors.cc
  lib/sanitizer_common/sanitizer_platform_interceptors.h
  lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc
  test/asan/TestCases/malloc-no-intercept.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27654.84184.patch
Type: text/x-patch
Size: 8768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170112/c34dc0e9/attachment.bin>


More information about the llvm-commits mailing list