about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-10 06:07:40 +0000
committerbors <bors@rust-lang.org>2015-10-10 06:07:40 +0000
commit39376de4856f8d0e1c8560e161213314856f11f6 (patch)
tree7c9fd5e61df44d721f44a92b6d8cac8564a29297 /src/rustllvm/RustWrapper.cpp
parent840d29eab6511f8bc57523016035dffd2c449d4e (diff)
parent6ad079e341c2f7dbf81664620b6b0550ce37e784 (diff)
downloadrust-39376de4856f8d0e1c8560e161213314856f11f6.tar.gz
rust-39376de4856f8d0e1c8560e161213314856f11f6.zip
Auto merge of #28920 - dotdash:const_align, r=eddyb
For enum variants, the default alignment for a specific variant might be
lower than the alignment of the enum type itself. In such cases we, for
example, generate memcpy calls with an alignment that's higher than the
alignment of the constant we copy from.

To avoid that, we need to explicitly set the required alignment on
constants.

Fixes #28912.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions