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

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 14:18:37 PST 2017


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

Updated to include `sanitizer_platform_interceptors.h` in `lsan_interceptors.cc`, so it correctly picks up the `SANITIZER_INTERCEPT_xxx` defines.

Tested on FreeBSD and Ubuntu.


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.86119.patch
Type: text/x-patch
Size: 9134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170127/8c00ca30/attachment.bin>


More information about the llvm-commits mailing list