summary refs log tree commit diff
path: root/src/test/codegen/consts.rs
AgeCommit message (Collapse)AuthorLines
2017-11-19rustc: do not inject discriminant fields into Layout::General's variants.Eduard-Mihai Burtescu-2/+2
2017-11-19rustc_trans: always insert alignment padding, even before the first field.Eduard-Mihai Burtescu-2/+2
2017-11-19rustc_trans: use a predictable layout for constant ADTs.Eduard-Mihai Burtescu-2/+2
2016-10-21Adapt codegen test to new naming scheme for generated symbols.Michael Woerister-3/+3
2016-08-24Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit.Eduard Burtescu-12/+8
2016-03-17Add #[rustc_no_mir] to make tests pass with -Z orbit.Eduard Burtescu-0/+5
2015-10-10Set proper alignment on constantsBjörn Steinbrink-0/+66
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.