diff options
author | David Blaikie <dblaikie@gmail.com> | 2022-01-18 14:28:14 -0800 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2022-01-28 11:04:20 -0800 |
commit | 277123376ce08c98b07c154bf83e4092a5d4d3c6 (patch) | |
tree | fd0928013f69a0ce368dac817b3a9443b3f6d55e /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 422084332a783e9a496160908235ed71b1af9364 (diff) | |
download | llvm-277123376ce08c98b07c154bf83e4092a5d4d3c6.zip llvm-277123376ce08c98b07c154bf83e4092a5d4d3c6.tar.gz llvm-277123376ce08c98b07c154bf83e4092a5d4d3c6.tar.bz2 |
GCC ABI Compatibility: Preserve alignment of non-pod members in packed structs
This matches GCC: https://godbolt.org/z/sM5q95PGY
I realize this is an API break for clang+clang - so I'm totally open to
discussing how we should deal with that. If Apple wants to keep the
Clang layout indefinitely, if we want to put a flag on this so non-Apple
folks can opt out of this fix/new behavior.
Differential Revision: https://reviews.llvm.org/D117616
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions