rust/src/librustc_codegen_ssa
bors 73f76b74ef Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton
Also share drop-glue when compiling with -Zshare-generics (i.e. at opt-level=0)

This PR adds drop-glue to the set of monomorphizations that can be shared across crates via `-Zshare-generics`.

This version of the PR might have detrimental effects on performance as it makes lots of stuff dependent on a single query results (`upstream_monomorphizations_for(def_id_of_drop_in_place)`). That should be fixable but let's do a perf run first.

Potentially fixes issue https://github.com/rust-lang/rust/issues/64140. (cc @alexcrichton)
The changes here are related to @matthewjasper's https://github.com/rust-lang/rust/pull/67332 but should be mostly orthogonal.

r? @ghost
2020-01-24 14:00:56 +00:00
..
back Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton 2020-01-24 14:00:56 +00:00
debuginfo Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
mir remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
traits Precompile CGUs while the main thread has the implicit job server token 2020-01-09 22:37:05 +01:00
base.rs Rollup merge of #67889 - Zoxc:parallel-cgus, r=michaelwoerister 2020-01-11 12:36:06 +01:00
Cargo.toml remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
common.rs remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
glue.rs Format the world 2019-12-22 17:42:47 -05:00
lib.rs Add -Z no-link flag 2020-01-23 11:00:36 +11:00
meth.rs Format the world 2019-12-22 17:42:47 -05:00
mono_item.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
README.md remove the last remaining READMEs 2019-10-24 13:32:54 -05:00

Please read the rustc-guide chapter on Backend Agnostic Codegen.