[PATCH] D30283: [ubsan] Reduce alignment checking of C++ object pointers

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 15 13:50:04 PDT 2017


efriedma added a comment.

I'm not sure we actually want to skip these checks for DeclRefExps.  I mean, you can rely on the backend to correctly align a local variable (assuming the stack is correctly aligned), but it's very easy to misalign a global.


https://reviews.llvm.org/D30283





More information about the cfe-commits mailing list