[PATCH] D118511: Add a warning for not packing non-POD members in packed structs

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 10 09:50:03 PST 2022


dblaikie added a comment.

In D118511#3372728 <https://reviews.llvm.org/D118511#3372728>, @jyknight wrote:

> In D118511#3371432 <https://reviews.llvm.org/D118511#3371432>, @tstellar wrote:
>
>> I'm fine with reverting if you think this is the best solution.  I just would like to conclude soon so I can make the final release candidate.
>
> ISTM that reverting the ABI change in the 14.x branch makes sense, to avoid ping-ponging the ABI for packed structs which would become non-packed (breaking ABI) in 14.x and packed again (breaking ABI) in https://reviews.llvm.org/D119051.

Yeah - I think it'd be a pretty niche amount of code that'd churn like that, but doesn't seem super important to rush this either.

@tstellar - can/do you want to revert this on the release branch yourself? Is that something I should do? Should I revert this on trunk (would be a bit awkward/more churny for users - maybe not a full revert, but one that leaves the new ABI version flag available as a no-op so users opting out don't need to remove the flag only to add it back in later) so it can be integrated to the release?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118511/new/

https://reviews.llvm.org/D118511



More information about the cfe-commits mailing list