================ @@ -1302,6 +1302,7 @@ ItaniumRecordLayoutBuilder::LayoutBase(const BaseSubobjectInfo *Base) { setSize(std::max(getSize(), Offset + Layout.getSize())); // Remember max struct/class alignment. + UnadjustedAlignment = std::max(UnadjustedAlignment, PreferredBaseAlign); ---------------- efriedma-quic wrote:
I'm pretty sure Darwin triples opted out of the whole composite alignment thing in 20208cc046c206a1436edb714e94bd52a0bc8572 , so this shouldn't have any effect there. And... I guess we opted-out Windows too; not sure if that was intentional, since it wasn't discussed at the time, but it seems to match MSVC, so I guess that's fine. https://github.com/llvm/llvm-project/pull/135564 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits