aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2024-09-27 08:49:22 -0400
committerGitHub <noreply@github.com>2024-09-27 08:49:22 -0400
commit45a09d1811d5d6597385ef02ecf2d4b7320c37c5 (patch)
tree832d604c9eaa6063584ecbd79b1f160ee2bd5ce8 /flang/lib/Frontend/CompilerInvocation.cpp
parentf6e771cfeda5527b817c80e86d2352cf1f3e5e37 (diff)
downloadllvm-45a09d1811d5d6597385ef02ecf2d4b7320c37c5.zip
llvm-45a09d1811d5d6597385ef02ecf2d4b7320c37c5.tar.gz
llvm-45a09d1811d5d6597385ef02ecf2d4b7320c37c5.tar.bz2
[libc++] Add an ABI setting to harden unique_ptr<T[]>::operator[] (#91798)
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.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions