]> git.lizzy.rs Git - rust.git/commit
Make names of types used in LLVM IR stable.
authorMichael Woerister <michaelwoerister@posteo.net>
Fri, 4 Nov 2016 21:37:42 +0000 (17:37 -0400)
committerMichael Woerister <michaelwoerister@posteo.net>
Mon, 14 Nov 2016 00:49:46 +0000 (19:49 -0500)
commit5b093ebab2595a50ccb47ff4ec854917aa1838fe
tree138ef39770a4a3910c2ee7aa2be02a38e0603698
parent876b7610100a6609db04be010144062f582cfb8c
Make names of types used in LLVM IR stable.

Before this PR, type names could depend on the cratenum being used
for a given crate and also on the source location of closures.
Both are undesirable for incremental compilation where we cache
LLVM IR and don't want it to depend on formatting or in which
order crates are loaded.
src/librustc_data_structures/base_n.rs [new file with mode: 0644]
src/librustc_data_structures/lib.rs
src/librustc_incremental/persist/fs.rs
src/librustc_trans/base.rs
src/librustc_trans/collector.rs
src/librustc_trans/context.rs
src/librustc_trans/trans_item.rs
src/librustc_trans/type_of.rs