summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2014-03-12 14:02:50 +0000
committerOliver Stannard <oliver.stannard@arm.com>2014-03-12 14:02:50 +0000
commit75c6158d63ee75a880a16c4da8483a59e2a5241c (patch)
treebcb2a89ecb9abab153977fcbba52dcf234d3b1f0 /lib/CodeGen/CodeGenModule.h
parent727fd088959ba1f3fcca0813b51a431f46830bb1 (diff)
downloadclang-75c6158d63ee75a880a16c4da8483a59e2a5241c.tar.gz
clang-75c6158d63ee75a880a16c4da8483a59e2a5241c.tar.bz2
clang-75c6158d63ee75a880a16c4da8483a59e2a5241c.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions