hanchenye-llvm-project/compiler-rt/lib/msan
Evgeniy Stepanov e109ef854a Release memory to OS only when the requested range covers the entire page
Summary:
The current code was sometimes attempting to release huge chunks of
memory due to undesired RoundUp/RoundDown interaction when the requested
range is fully contained within one memory page.

Reviewers: eugenis

Subscribers: kubabrecka, llvm-commits

Patch by Aleksey Shlyapnikov.

Differential Revision: https://reviews.llvm.org/D27228

llvm-svn: 288271
2016-11-30 20:41:59 +00:00
..
tests [msan] Disable prlimit test on glibc < 2.13. 2016-08-20 00:38:55 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
CMakeLists.txt [CMake] Connect Compiler-RT targets to LLVM Runtimes directory 2016-08-26 20:52:22 +00:00
msan.cc [MSan] [PowerPC] Dereference function descriptors when recording stack origins. 2016-04-27 21:24:24 +00:00
msan.h msan: Enable 48-bit VMA support on aarch64 2016-08-25 17:05:56 +00:00
msan.syms.extra
msan_allocator.cc Release memory to OS only when the requested range covers the entire page 2016-11-30 20:41:59 +00:00
msan_allocator.h Revert "Apply modernize-use-default to compiler-rt." 2015-10-30 18:52:31 +00:00
msan_blacklist.txt
msan_chained_origin_depot.cc [compiler-rt] Apply modernize-use-nullptr fixes in sanitizers 2015-10-01 00:22:21 +00:00
msan_chained_origin_depot.h
msan_flags.h
msan_flags.inc [Sanitizers] Unify the semantics and usage of "exitcode" runtime flag across all sanitizers. 2015-08-21 20:49:37 +00:00
msan_interceptors.cc [msan] Fix second parameter in MsanReallocate from previous commit. 2016-09-26 08:26:23 +00:00
msan_interface_internal.h [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
msan_linux.cc msan: Enable 48-bit VMA support on aarch64 2016-08-25 17:05:56 +00:00
msan_new_delete.cc
msan_origin.h
msan_poisoning.cc
msan_poisoning.h
msan_report.cc [MSan] Endianness should not matter while printing a byte 2016-02-26 06:44:10 +00:00
msan_thread.cc
msan_thread.h [compiler-rt] Apply modernize-use-nullptr fixes in sanitizers 2015-10-01 00:22:21 +00:00