HomePhabricator

[sanitizers][Windows] Implement __sanitizer_purge_allocator for Win64

Authored by mcgov on Feb 3 2021, 11:29 AM.

Description

[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

Details

Committed
mcgovFeb 12 2021, 9:49 AM
Parents
rG0b1914e83a03: [ThinLTO][gold] Fix filenaming scheme for tasks.
Branches
Unknown
Tags
Unknown