[all-commits] [llvm/llvm-project] 81b1d3: [sanitizers][Windows] Implement __sanitizer_purge_...
msft-matthew via All-commits
all-commits at lists.llvm.org
Fri Feb 12 09:51:54 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 81b1d3da094c54ffd75e05c8d4683792edf17f4c
https://github.com/llvm/llvm-project/commit/81b1d3da094c54ffd75e05c8d4683792edf17f4c
Author: Matthew G McGovern <mamcgove at microsoft.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
A compiler-rt/test/asan/TestCases/Windows/sanitizer_purge.cpp
Log Message:
-----------
[sanitizers][Windows] Implement __sanitizer_purge_allocator for Win64
Windows' memory unmapping has to be explicit, there is no madvise.
Similarly, re-mapping memory has to be explicit as well. This patch
implements a basic method for remapping memory which was previously
returned to the OS on Windows.
Patch by Matthew G. McGovern and Jordyn Puryear
More information about the All-commits
mailing list