[LLVMdev] Porting ASan to AArch64

Gideon Billings gideonhbillings at gmail.com
Wed Jun 4 07:48:25 PDT 2014


 > Similar thread in GCC ML:
https://gcc.gnu.org/ml/gcc/2014-06/msg00023.html .
> It looks like QEMU-user does not yet support the NORESERVE flag.


Thanks! Applying this patch to qemu 2.0 fixed the mmap issue:
http://lists.gnu.org/archive/html/qemu-devel/2014-02/msg00319.html

I am still getting the segfault error, though.


On Wed, Jun 4, 2014 at 2:41 AM, Yury Gribov <y.gribov at samsung.com> wrote:

> Basically, ASan is unable to map the necessary shadow memory. You may want
>> to dump the contents of /proc/self/maps and look if it conflicts
>> with the range ASan is trying to use. errno 12 is ENOMEM. Are you sure you
>> don't have constraints on the virtual memory your process can use?
>>
>
> Similar thread in GCC ML: https://gcc.gnu.org/ml/gcc/2014-06/msg00023.html
> .
> It looks like QEMU-user does not yet support the NORESERVE flag.
>
> -Y
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140604/133ac355/attachment.html>


More information about the llvm-dev mailing list