Remove dump_incremental_data
This commit is contained in:
parent
aa51449af4
commit
b620e49cca
2 changed files with 0 additions and 12 deletions
|
@ -278,9 +278,6 @@ impl CodegenBackend for LlvmCodegenBackend {
|
||||||
.downcast::<rustc_codegen_ssa::back::write::OngoingCodegen<LlvmCodegenBackend>>()
|
.downcast::<rustc_codegen_ssa::back::write::OngoingCodegen<LlvmCodegenBackend>>()
|
||||||
.expect("Expected LlvmCodegenBackend's OngoingCodegen, found Box<Any>")
|
.expect("Expected LlvmCodegenBackend's OngoingCodegen, found Box<Any>")
|
||||||
.join(sess);
|
.join(sess);
|
||||||
if sess.opts.debugging_opts.incremental_info {
|
|
||||||
rustc_codegen_ssa::back::write::dump_incremental_data(&codegen_results);
|
|
||||||
}
|
|
||||||
|
|
||||||
sess.time("llvm_dump_timing_file", || {
|
sess.time("llvm_dump_timing_file", || {
|
||||||
if sess.opts.debugging_opts.llvm_time_trace {
|
if sess.opts.debugging_opts.llvm_time_trace {
|
||||||
|
|
|
@ -655,15 +655,6 @@ fn produce_final_output_artifacts(
|
||||||
// These are used in linking steps and will be cleaned up afterward.
|
// These are used in linking steps and will be cleaned up afterward.
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn dump_incremental_data(_codegen_results: &CodegenResults) {
|
|
||||||
// FIXME(mw): This does not work at the moment because the situation has
|
|
||||||
// become more complicated due to incremental LTO. Now a CGU
|
|
||||||
// can have more than two caching states.
|
|
||||||
// println!("[incremental] Re-using {} out of {} modules",
|
|
||||||
// codegen_results.modules.iter().filter(|m| m.pre_existing).count(),
|
|
||||||
// codegen_results.modules.len());
|
|
||||||
}
|
|
||||||
|
|
||||||
pub enum WorkItem<B: WriteBackendMethods> {
|
pub enum WorkItem<B: WriteBackendMethods> {
|
||||||
/// Optimize a newly codegened, totally unoptimized module.
|
/// Optimize a newly codegened, totally unoptimized module.
|
||||||
Optimize(ModuleCodegen<B::Module>),
|
Optimize(ModuleCodegen<B::Module>),
|
||||||
|
|
Loading…
Add table
Reference in a new issue