rust/src/test/codegen
Björn Steinbrink 6ad079e341 Set proper alignment on constants
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.
2015-10-10 01:15:36 +02:00
..
adjustments.rs Avoid loading the whole gdb debug scripts section. 2015-09-21 15:43:52 -05:00
coercions.rs Avoid loading the whole gdb debug scripts section. 2015-09-21 15:43:52 -05:00
consts.rs Set proper alignment on constants 2015-10-10 01:15:36 +02:00
extern-functions.rs Avoid loading the whole gdb debug scripts section. 2015-09-21 15:43:52 -05:00
function-arguments.rs Avoid loading the whole gdb debug scripts section. 2015-09-21 15:43:52 -05:00
gdb_debug_script_load.rs Avoid loading the whole gdb debug scripts section. 2015-09-21 15:43:52 -05:00
intrinsic-no-unnamed-attr.rs Don't add unnamed address attributes to intrinsics. 2015-09-06 19:26:41 -05:00
link_section.rs Avoid loading the whole gdb debug scripts section. 2015-09-21 15:43:52 -05:00
loads.rs Avoid loading the whole gdb debug scripts section. 2015-09-21 15:43:52 -05:00
match.rs Tell LLVM when a match is exhaustive 2015-09-25 11:09:19 +02:00
refs.rs Avoid unnecessary temporaries when ref'ing a DST value 2015-10-01 15:24:23 +02:00
stores.rs Avoid loading the whole gdb debug scripts section. 2015-09-21 15:43:52 -05:00