[PATCH] D23806: msan: Enable 48-bit VMA support on aarch64

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 08:26:19 PDT 2016


zatrazz created this revision.
zatrazz added reviewers: pcc, rengolin, kcc, samsonov, eugenis.
zatrazz added a subscriber: llvm-commits.
zatrazz added a project: Sanitizers.
Herald added subscribers: rengolin, aemerson.

This patch adds 48-bits VMA support for msan on aarch64.  As current
mappings for aarch64, 48-bit VMA also supports PIE executable.  The
48-bits segments only cover the usual PIE/default segments plus some
more segments (262144GB total, 0.39% total VMA).  Memory avaliability
can be increase by adding multiple application segments like 39 and
42 mapping (some mappings were added on this patch as well).

Tested on 39 and 48-bit VMA kernels on aarch64.

https://reviews.llvm.org/D23806

Files:
  lib/msan/msan.h
  lib/msan/msan_linux.cc
  test/msan/mmap.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23806.68999.patch
Type: text/x-patch
Size: 5934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160823/93b18aee/attachment.bin>


More information about the llvm-commits mailing list