commit | 8593e7821c02bd429964d2daf7a6acccb8040fb2 | [log] [tgz] |
---|---|---|
author | Filipe Cabecinhas <me@filcab.net> | Thu Aug 08 01:08:17 2013 +0000 |
committer | Filipe Cabecinhas <me@filcab.net> | Thu Aug 08 01:08:17 2013 +0000 |
tree | fa39a2b77123c40610cab1b4c4a07c0f25f1354d | |
parent | b3574796d7cc0113e54b6516fc16e17ca09459fb [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187948 91177308-0d34-0410-b5e6-96231b3b80d8