[all-commits] [llvm/llvm-project] a05098: [asan] Optimize Quarantine of secondary allocations
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Thu Jun 22 11:24:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0509884d904e91eb18e1bd6b1e216b470b7e970
https://github.com/llvm/llvm-project/commit/a0509884d904e91eb18e1bd6b1e216b470b7e970
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M compiler-rt/lib/asan/asan_allocator.cpp
Log Message:
-----------
[asan] Optimize Quarantine of secondary allocations
For the secondary allocation we don't need poison and fill memory if we
skip quarantine, and we don't need to poison after quarantine. In both
cases the secondary allocator will unmap memory and unpoison the shadow
from get_allocator().Deallocate().
Depends on D153496.
Reviewed By: thurston
Differential Revision: https://reviews.llvm.org/D153497
More information about the All-commits
mailing list