diff options
| author | Vladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com> | 2023-01-14 02:38:10 +0300 | 
|---|---|---|
| committer | Vladislav Dzhidzhoev <vdzhidzhoev@accesssoftek.com> | 2023-02-17 15:11:42 +0100 | 
| commit | af6c0b6d8c9dc52485d56e82f79a03de09aa188f (patch) | |
| tree | 2971559ffabb8625d6e1d6f7df3885b703c4152f /llvm/lib/TextAPI/TextStubCommon.cpp | |
| parent | 4bf6cc63aa77a7fea7e410f7d45899abcde2b58a (diff) | |
| download | llvm-af6c0b6d8c9dc52485d56e82f79a03de09aa188f.zip llvm-af6c0b6d8c9dc52485d56e82f79a03de09aa188f.tar.gz llvm-af6c0b6d8c9dc52485d56e82f79a03de09aa188f.tar.bz2 | |
[clang][CodeGen] Use base subobject type layout for potentially-overlapping fields
RecordLayoutBuilder assumes the size of a potentially-overlapping
class/struct 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/TextAPI/TextStubCommon.cpp')
0 files changed, 0 insertions, 0 deletions
