rust/src/librustc_codegen_llvm/debuginfo
bors 6a2d1b4e15 Auto merge of #54071 - eddyb:alignsssss, r=oli-obk
rustc_target: separate out an individual alignment quantity type from Align.

Before this PR, `rustc_target::abi::Align` combined "power-of-two alignment quantity" semantics, with a distinction between ABI (required) and preferred alignment (by having two quantities).

After this PR, `Align` is only *one* such quantity, and a new `AbiAndPrefAlign` type is introduced to hold the pair of ABI and preferred `Align` quantities.

`Align` is used everywhere one quantity is necessary/sufficient, simplifying some of the code in codegen/miri, while `AbiAndPrefAlign` only in layout computation (to propagate preferred alignment).

r? @oli-obk cc @nagisa @RalfJung @nikomatsakis
2018-11-23 01:02:21 +00:00
..
create_scope_map.rs Finished moving backend-agnostic code to rustc_codegen_ssa 2018-11-16 15:08:18 +02:00
doc.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
gdb.rs [eddyb] rustc_codegen_ssa: rename interfaces to traits. 2018-11-16 15:08:18 +02:00
metadata.rs rustc_target: avoid using AbiAndPrefAlign where possible. 2018-11-22 05:01:49 +02:00
mod.rs Auto merge of #54071 - eddyb:alignsssss, r=oli-obk 2018-11-23 01:02:21 +00:00
namespace.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
source_loc.rs [eddyb] rustc_codegen_ssa: rename interfaces to traits. 2018-11-16 15:08:18 +02:00
type_names.rs [eddyb] rustc_codegen_ssa: rename interfaces to traits. 2018-11-16 15:08:18 +02:00
utils.rs [eddyb] rustc_codegen_ssa: rename interfaces to traits. 2018-11-16 15:08:18 +02:00