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

Viktor Kutuzov vkutuzov at accesssoftek.com
Mon May 12 13:32:06 PDT 2014

Hi kcc, samsonov,

This patch implements a workaround for the issue with sysctl(KERN_PROC_VMMAP) calls on FreeBSD:


The patch should be reverted back as soon as the bug is fixed.

Since the patch relies on reading '/dev/kmem' which is not accessible for normal users by default, the following command granting reading access to all users shall be executed before running tests:

  sudo chmod a+r /dev/kmem


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3732.9322.patch
Type: text/x-patch
Size: 6298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140512/07697466/attachment.bin>

More information about the llvm-commits mailing list