diff options
author | Jay Foad <jay.foad@gmail.com> | 2015-06-25 20:47:59 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2015-06-25 20:47:59 +0000 |
commit | 198337bf4200dd9d33c6223fc8ce5a488e60187f (patch) | |
tree | 67ea9ace62c70ee33203be4be1dcee5ce00a7820 /lldb/scripts/Python/python-wrapper.swig | |
parent | f1ac0fcf563dcc8cdef37b2717767c5b60bf970b (diff) | |
download | llvm-198337bf4200dd9d33c6223fc8ce5a488e60187f.zip llvm-198337bf4200dd9d33c6223fc8ce5a488e60187f.tar.gz llvm-198337bf4200dd9d33c6223fc8ce5a488e60187f.tar.bz2 |
[msan] Fix SetShadow for mappings at the end of the application address space
Summary:
On PPC64 if you disable ASLR (or run under gdb) you're likely to see
mmap returning a mapping right at the end of the application address
space region. This caused SetShadow to call MEM_TO_SHADOW() on the
last+1 address in the region, which seems wrong to me; how can
MEM_TO_SHADOW() distinguish this from the first address in the following
region?
Fixed by only calling MEM_TO_SHADOW() once, on the start address.
Reviewers: samsonov, wschmidt, eugenis
Reviewed By: eugenis
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D10735
llvm-svn: 240690
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions