diff options
| author | Vladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com> | 2022-12-09 21:36:16 +0300 |
|---|---|---|
| committer | Vladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com> | 2022-12-15 15:10:41 +0300 |
| commit | 731abdfdcc33d813e6c3b4b89eff307aa5c18083 (patch) | |
| tree | 8f6fd5fefb9f86125a86db2ce38fb2e45bba76b6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 4d852374b1d69c95363c0d3f540616f6d2481d47 (diff) | |
[clang][CodeGen] Use base subobject type layout for potentially-overlapping fields
RecordLayoutBuilder assumes the size of a potentially-overlapping field
with non-zero size as the size of the base subobject type corresponding
to the field type.
Make CGRecordLayoutBuilder to acknowledge that in order to avoid incorrect
padding insertion.
Differential Revision: https://reviews.llvm.org/D139741
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
