Move the corresponding tests to the common folder (as all of the
sanitizer allocators will support this feature soon) and add the checks
specific to aligned_alloc to ASan and LSan allocators.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/sanitizer_common/sanitizer_allocator_checks.h | ||
---|---|---|
47 ↗ | (On Diff #150443) | I thought about that, but it is used in many places where we already know that the argument is not 0. I do not want to impose the overhead on all its users. |