[PATCH] D53207: Fix bug 26547 - alignof should return ABI alignment, not preferred alignment
Nicole Mazzuca via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 21 14:23:03 PST 2018
ubsan added a comment.
The ABI breakage was already there, in the difference between GCC and Clang
- if one compiles against libc++ with gcc, it is not compatible with things
that are compiled with clang. I frankly think that being ABI compatible
with gcc (and correct according to the standard) is far more important than
being ABI compatible with previous versions of clang - if people need the
ABI compatibility, they can and should use `-fclang-abi-compat`
Repository:
rL LLVM
https://reviews.llvm.org/D53207
More information about the cfe-commits
mailing list