Skip to content
Commit 2ce42e0a authored by Kostya Serebryany's avatar Kostya Serebryany
Browse files

[sanitizer] change the way SizeClassAllocator64 allocated memory from the...

[sanitizer] change the way SizeClassAllocator64 allocated memory from the system: instead of one huge mmap(NORESERVE) it does one huge mprotect and then does small on-demand mmaps. This allows us to call OnMap callbacks which are required to poison newly allocated memory in asan

llvm-svn: 170097
parent 0f207eda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment