[PATCH] Fixing Alias-Avoidance Padding for MS-ABI Layout
Warren Hunt
whunt at google.com
Fri Nov 22 16:05:46 PST 2013
Hi majnemer, rsmith,
This patch adds appropriate padding to mimic the way that the MS-ABI attempts to avoid aliasing among 0 sized bases.
This require adding two additional bits of state to be tracked, but fortunately allows us to remove some other tracked state.
Also I went ahead and deleted the misaligned int64 code (it's been dead for a while, that case is covered by the existing ms-bitfields code).
http://llvm-reviews.chandlerc.com/D2258
Files:
include/clang/AST/RecordLayout.h
lib/AST/RecordLayout.cpp
lib/AST/RecordLayoutBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2258.1.patch
Type: text/x-patch
Size: 14416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131122/011115d2/attachment.bin>
More information about the cfe-commits
mailing list