diff options
author | Filipe Cabecinhas <me@filcab.net> | 2013-08-08 01:08:17 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2013-08-08 01:08:17 +0000 |
commit | 178a8df66006a507e8553f174904753539b54bb1 (patch) | |
tree | 1b14765787529427cf2f24082b568af46506a9e7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 59c23c0bb5c704f95d980653cfd819c8a5b94b02 (diff) | |
download | llvm-178a8df66006a507e8553f174904753539b54bb1.zip llvm-178a8df66006a507e8553f174904753539b54bb1.tar.gz llvm-178a8df66006a507e8553f174904753539b54bb1.tar.bz2 |
UBSan: Fix alignment checks emitted in downcasts.
Summary:
UBSan was checking for alignment of the derived class on the pointer to
the base class, before converting. With some class hierarchies, this could
generate false positives.
Added test-case.
llvm-svn: 187948
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions