commit | c1bb272a635144a9811dfd2978c66ffb1865f035 | [log] [tgz] |
---|---|---|
author | Matthew G McGovern <mamcgove@microsoft.com> | Wed Feb 03 11:29:44 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 00:59:16 2021 -0800 |
tree | 9cd7d28c305fd6531876b0f321abdccb99d50b4d | |
parent | 5300b53e78efdeed642b8b8ef1cabc923ee54c06 [diff] |
[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 GitOrigin-RevId: 81b1d3da094c54ffd75e05c8d4683792edf17f4c