[PATCH] D117616: GCC ABI Compatibility: Preserve alignment of non-pod members in packed structs

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 11:18:13 PST 2022


dblaikie added a comment.

In D117616#3270205 <https://reviews.llvm.org/D117616#3270205>, @tstellar wrote:

> So to summarize: this will change the ABI of clang built objects from clang13 -> clang14 in order to make clang14 compatible with gcc?

That's the idea, yes. (only for non-pod members of packed structs)

I /think/ we've done this sort of thing in the past when we've found corner case ABI differences between clang and gcc - but I don't have concrete examples to link to off hand.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117616



More information about the cfe-commits mailing list