[PATCH] A workaround for getting process memory map taking too long for sanitizers on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Tue May 13 08:59:06 PDT 2014


Two changes:
* common Linux/FreeBSD parts moved out to sanitizer_procmaps_common.cc and
* the workaround code now ignore the header map entry that correspond to the whole available memory range.

With this patch we pass x86-64 Asan unit tests on FreeBSD.

http://reviews.llvm.org/D3732

Files:
  lib/sanitizer_common/CMakeLists.txt
  lib/sanitizer_common/sanitizer_procmaps.h
  lib/sanitizer_common/sanitizer_procmaps_common.cc
  lib/sanitizer_common/sanitizer_procmaps_freebsd.cc
  lib/sanitizer_common/sanitizer_procmaps_linux.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3732.9355.patch
Type: text/x-patch
Size: 22685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140513/807c6a08/attachment.bin>


More information about the llvm-commits mailing list