3 Commits

Author SHA1 Message Date
Nathan Sidwell
ee99475068
[clang] Fix bitfield access unit for vbase corner case (#87238)
This fixes #87227, a vbase can be placed below nvsize when empty members and/or bases are in play. We must account for that.
2024-04-01 15:41:38 -04:00
Nathan Sidwell
49839f97d2 [clang] Better SysV bitfield access units (#65742)
Reimplement bitfield access unit computation for SysV ABIs. Considers
expense of unaligned and non-power-of-2 accesses.
2024-03-29 09:35:31 -04:00
Nathan Sidwell
a8ca4abfcf [clang][NFC] Bitfield access unit tests (#65742)
Verify bitfield access units.
2024-03-29 09:35:31 -04:00