The secondary allocator calls mmap which should return zero-inited pages, so we don't need to explicitly memset it with zeros. This is similar to what asan's calloc does.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D149285
[hwasan] Do not memset allocation if it comes from the secondary allocator leonardchan on Apr 26 2023, 12:58 PM. Authored by
Details The secondary allocator calls mmap which should return zero-inited pages, so we don't need to explicitly memset it with zeros. This is similar to what asan's calloc does.
Diff Detail
|