aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-01-31 19:06:21 -0800
committerRichard Smith <richard@metafoo.co.uk>2020-01-31 19:08:17 -0800
commit0130b6cb5a8d94511e2bb09ac2f5a613a59f70b4 (patch)
treef39633cc1ea98c67c40e64559f76c96af4921619 /clang/lib/Frontend/CompilerInvocation.cpp
parentdc1d43cfa0294dea6713aa825d287ddaa3ac971b (diff)
downloadllvm-0130b6cb5a8d94511e2bb09ac2f5a613a59f70b4.zip
llvm-0130b6cb5a8d94511e2bb09ac2f5a613a59f70b4.tar.gz
llvm-0130b6cb5a8d94511e2bb09ac2f5a613a59f70b4.tar.bz2
Don't assume a reference refers to at least sizeof(T) bytes.
When T is a class type, only nvsize(T) bytes need be accessible through the reference. We had matching bugs in the application of the dereferenceable attribute and in -fsanitize=undefined.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions