[PATCH] D126956: [tbaa] Handle base classes in struct tbaa
Bruno De Fraine via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 29 08:03:09 PDT 2022
brunodf updated this revision to Diff 441017.
brunodf added a comment.
Herald added a subscriber: mgrang.
New version that fixes the problem with base classes not appearing in order of increasing offset.
This issue was discovered in the multistage build, but the test case has now been extended for this situation.
Also changed to obtain the the size of the base subobject with `getDataSize()` since other subobjects may be allocated in its tail padding.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126956/new/
https://reviews.llvm.org/D126956
Files:
clang/lib/CodeGen/CodeGenTBAA.cpp
clang/test/CodeGen/tbaa-class.cpp
clang/unittests/CodeGen/TBAAMetadataTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126956.441017.patch
Type: text/x-patch
Size: 8730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220629/def52d1f/attachment.bin>
More information about the cfe-commits
mailing list