[PATCH] D13818: [compiler-rt] [msan] Unify aarch64 mapping
Adhemerval Zanella via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 11:06:20 PDT 2015
zatrazz created this revision.
zatrazz added reviewers: pcc, rengolin, eugenis, kcc, samsonov.
zatrazz added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.
This patch unify the 39-bit and 42-bit mapping for aarch64 using only
one instrumentation algorithm (based on 39-bit mapping). A runtime
check avoid mapping 42-bit only segments for 39-bit kernels.
The LLVM instrumentation change is at [1]. The only downside of this
patch is for 42-bit VMA the 39-bit shadow/origin segments will be created
regardless. However a patch is possible to filter out this based on runtime
VMA information.
[1] http://reviews.llvm.org/D13817
http://reviews.llvm.org/D13818
Files:
lib/msan/msan.cc
lib/msan/msan.h
lib/msan/msan_linux.cc
test/msan/mmap.cc
test/msan/strlen_of_shadow.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13818.37614.patch
Type: text/x-patch
Size: 7196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151016/e5a5d69f/attachment.bin>
More information about the llvm-commits
mailing list