mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 02:16:05 +00:00

This allows catching OOB accesses inside `unique_ptr<T[]>` when the size of the allocation is known. The size of the allocation can be known when the unique_ptr has been created with make_unique & friends or when the type necessitates an array cookie before the allocation.