[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 13:59:23 PST 2017


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

- Test that mallinfo() and mallopt() cause link failures on non-glibc platforms
- Use nonexistent function names on glibc platforms, to also cause link failures
- XFAIL on all platforms
- Use proper prototypes


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/mallinfo-mallopt.c

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


More information about the llvm-commits mailing list