diff options
| author | Oliver Stannard <oliver.stannard@arm.com> | 2014-03-12 14:02:50 +0000 |
|---|---|---|
| committer | Oliver Stannard <oliver.stannard@arm.com> | 2014-03-12 14:02:50 +0000 |
| commit | 7c3c09e23fe4b2752dbbf957d6bebbf72e7b0319 (patch) | |
| tree | ed1cd4427f1323a6b6e326834dd86179f6203c38 /lld/lib/ReaderWriter/Native/ReaderNative.cpp | |
| parent | 61c76cc56fc4481425e65f69eb32eece5d7c08df (diff) | |
| download | bcm5719-llvm-7c3c09e23fe4b2752dbbf957d6bebbf72e7b0319.tar.gz bcm5719-llvm-7c3c09e23fe4b2752dbbf957d6bebbf72e7b0319.zip | |
ARM: Correct alignment of structs passed as byval pointer
When a struct has bitfields overlapping with other members
(as required by the AAPCS), clang uses a packed struct to
represent this. If such a struct is large enough for clang to
pass it as a byval pointer (>64 bytes), we need to set the
alignment of the argument to match the original type.
llvm-svn: 203660
Diffstat (limited to 'lld/lib/ReaderWriter/Native/ReaderNative.cpp')
0 files changed, 0 insertions, 0 deletions

