about summary refs log tree commit diff
path: root/src/librustc_incremental/persist/load.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-208/+0
2020-05-12Change `WorkProduct::saved_files` to an `Option`.Nicholas Nethercote-1/+1
Because there is at most one file.
2020-05-01Don't copy bytecode files into the incr. comp. cache.Nicholas Nethercote-1/+1
It's no longer necessary now that bitcode is embedded into object files. This change meant that `WorkProductFileKind::Bytecode` is no longer necessary, which means that type is no longer necessary, which allowed several places in the code to become simpler.
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-1/+1
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-3/+3
2020-03-24Remove `-Z incremental-queries`.Nicholas Nethercote-1/+1
Because it uses `parse_bool` and defaults to true, it is actually impossible to set it to false. And it hasn't been experimental for some time now.
2020-03-16use direct imports for `rustc::{lint, session}`.Mazdak Farrokhzad-1/+1
2020-01-09Label unmarked timeJohn Kåre Alsaker-0/+2
2020-01-09Change -Z time event naming scheme and make them generic activitiesJohn Kåre Alsaker-1/+1
2020-01-05Use self profile infrastructure for -Z time and -Z time-passesJohn Kåre Alsaker-29/+25
2019-12-22Format the worldMark Rousskov-37/+37
2019-10-09self-profiling: Add events for everything except trait selection.Michael Woerister-0/+5
2019-10-03Remove -Zprofile-queriesMark Rousskov-1/+1
2019-07-03Remove needless lifetimesJeremy Stucki-2/+2
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-1/+1
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-1/+1
2019-03-11Remove precompute_in_scope_traits_hashesJohn Kåre Alsaker-1/+0
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-3/+3
2019-02-08librustc_incremental => 2018Taiki Endo-1/+0
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-19Prefer `Default::default` over `FxHash*::default` in struct constructorsOliver Scherer-3/+3
2018-10-19Deprecate the `FxHashMap()` and `FxHashSet()` constructor function hackOliver Scherer-4/+4
2018-08-19mv codemap() source_map()Donato Sciarra-2/+2
2018-06-14rustc: rename ty::maps to ty::query.Eduard-Mihai Burtescu-1/+1
2018-05-08Fix commentWesley Wiser-1/+1
2018-05-07Make DepGraph::previous_work_products immutableWesley Wiser-55/+57
Fixes #50501
2018-03-28[incremental] Don't panic if decoding the cache failsWesley Wiser-1/+2
If the cached data can't be loaded from disk, just issue a warning to the user so they know why compilation is taking longer than usual but don't fail the entire compilation since we can recover by ignorning the on disk cache. In the same way, if the disk cache can't be deserialized (because it has been corrupted for some reason), report the issue as a warning and continue without failing the compilation. `Decodable::decode()` tends to panic with various errors like "entered unreachable code" or "index out of range" if the input data is corrupted. Work around this by catching panics from the `decode()` calls when joining the thread and continuing without the cached data. Fixes #48847
2018-03-09Move PROFQ_CHAN to a Session fieldJohn Kåre Alsaker-3/+5
2017-12-15Resolves #46555 - Moving loading and decoding of dependency graph to ↵David Teller-48/+106
background thread
2017-11-29incr.comp.: Remove on-export crate metadata hashing.Michael Woerister-61/+0
2017-11-15incr.comp.: Only save and load query result cache when -Zincremental-queries ↵Michael Woerister-1/+2
is specified.
2017-11-14incr.comp.: Store the query result index which records where query results ↵Michael Woerister-1/+1
can be found in the cached.
2017-11-13incr.comp.: Include header when loading cache files in order to get the same ↵Michael Woerister-11/+15
byte offsets as when saving.
2017-10-25incr.comp.: Implement query diagnostic persistence.Michael Woerister-0/+13
2017-10-06incr.comp.: Bring back output of -Zincremental-info.Michael Woerister-2/+2
2017-10-03incr.comp.: Fix some merge fallout.Michael Woerister-0/+7
2017-10-02incr.comp.: Remove saving and loading of legacy dep-graph.Michael Woerister-310/+41
2017-10-02incr.comp.: Use red/green tracking for CGU re-use.Michael Woerister-22/+18
2017-09-23incr.comp.: Make #[rustc_dirty/clean] test for fingerprint equality instead ↵Michael Woerister-4/+0
of DepNode existence.
2017-09-23incr.comp.: Remove support for loading metadata fingerprints.Michael Woerister-8/+5
2017-09-23incr.comp.: Serialize and deserialize new DepGraphMichael Woerister-0/+35
2017-09-20incr.comp.: Remove IncrementalHashesMap and calculate_svh module.Michael Woerister-18/+14
2017-09-20incr.comp.: Store result fingerprints in DepGraph.Michael Woerister-3/+2
2017-09-18Fix issues uncovered by rebasing:Michael Woerister-0/+1
- Don't hash traits in scope as part of HIR hashing any more. - Some queries returned DefIndexes from other crates. - Provide a generic way of stably hashing maps (not used everywhere yet).
2017-09-14rustc: Remove `Session::dep_graph`Alex Crichton-23/+3
This commit removes the `dep_graph` field from the `Session` type according to issue #44390. Most of the fallout here was relatively straightforward and the `prepare_session_directory` function was rejiggered a bit to reuse the results in the later-called `load_dep_graph` function. Closes #44390
2017-07-10incr.comp.: Manage dependency graph on main thread.Michael Woerister-8/+2
2017-07-10incr.comp.: Improve debug output for work products.Michael Woerister-5/+9
2017-06-22Print -Zincremental-info to stderr instead of stdout.Michael Woerister-8/+8