[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 13:26:38 PDT 2017
efriedma added a comment.
Err, that's not what I meant...
If the alignment of a global in LLVM IR is "zero", it doesn't really mean zero. It means "guess the alignment I want based on the specified type of the global". And that's not a game we ever want to play when generating IR from clang.
https://reviews.llvm.org/D32456
More information about the cfe-commits
mailing list