rust/src/librustc_metadata
bors fef6c64a80 Auto merge of #32779 - michaelwoerister:partitioning, r=nikomatsakis
Add initial version of codegen unit partitioning for incremental compilation.

The task of the partitioning module is to take the complete set of translation items of a crate and produce a set of codegen units from it, where a codegen unit is a named set of (translation-item, linkage) pairs. That is, this module decides which translation item appears in which codegen units with which linkage.

This version only handles the case of partitioning for incremental compilation, not the regular N-codegen units case. In the future the regular case should be handled too, maybe even doing a bit more analysis to intelligently figure out a good partitioning.

One thing that could be improved is the syntax of the codegen unit tests. Right now they still use the compile-fail error specification infrastructure, so everything has to be on one line. Would be nice to be able to format things in a more readable way.
2016-04-15 18:13:59 -07:00
..
astencode.rs Do not encode name when encoding DefKey 2016-04-12 01:35:26 +09:00
Cargo.toml rustc: move rustc_front to rustc::hir. 2016-04-06 09:01:55 +03:00
common.rs rustc: retire hir::map's paths. 2016-04-06 13:51:55 +03:00
creader.rs rustc: move rustc_front to rustc::hir. 2016-04-06 09:01:55 +03:00
csearch.rs Make hir::Visibility non-copyable and add ty::Visibility 2016-04-07 04:31:45 +00:00
cstore.rs rustc: move middle::{def,def_id,pat_util} to hir. 2016-04-06 09:14:21 +03:00
decoder.rs Do not encode name when encoding DefKey 2016-04-12 01:35:26 +09:00
def_key.rs Add initial version of codegen unit partitioning for incremental compilation. 2016-04-15 10:05:53 -04:00
diagnostics.rs renumber error from E0522 to E0523 2016-03-25 14:07:20 -04:00
encoder.rs Do not encode name when encoding DefKey 2016-04-12 01:35:26 +09:00
index.rs rustc: move middle::{def,def_id,pat_util} to hir. 2016-04-06 09:14:21 +03:00
lib.rs Do not encode name when encoding DefKey 2016-04-12 01:35:26 +09:00
loader.rs Deduplicate libraries on hash instead of filename. 2016-04-14 13:29:47 -07:00
macro_import.rs Make the compiler emit an error if the crate graph contains two crates with the same crate-name and crate-salt but different SVHs. 2016-03-25 14:07:18 -04:00
macros.rs
tls_context.rs rustc: move middle::{def,def_id,pat_util} to hir. 2016-04-06 09:14:21 +03:00
tydecode.rs Auto merge of #32780 - soltanmm:consider-the-following, r=nikomatsakis 2016-04-13 11:28:30 -07:00
tyencode.rs Auto merge of #32780 - soltanmm:consider-the-following, r=nikomatsakis 2016-04-13 11:28:30 -07:00