[PATCH] D32456: [ubsan] Make the alignment check work with some extern decls (PR32630)

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 12:20:45 PDT 2017


efriedma added a comment.

> If the alignment isn't explicitly set, it is initialized to 0.

That's what I thought.  I don't like this; clang should explicitly set an alignment for every global.


https://reviews.llvm.org/D32456





More information about the cfe-commits mailing list