Reduce output spam
This commit is contained in:
parent
66676820eb
commit
b0dc15c61b
2 changed files with 6 additions and 6 deletions
|
@ -361,12 +361,12 @@ impl CodegenBackend for LlvmCodegenBackend {
|
||||||
.expect("Expected LlvmCodegenBackend's OngoingCodegen, found Box<Any>")
|
.expect("Expected LlvmCodegenBackend's OngoingCodegen, found Box<Any>")
|
||||||
.join(sess);
|
.join(sess);
|
||||||
|
|
||||||
sess.time("llvm_dump_timing_file", || {
|
if sess.opts.unstable_opts.llvm_time_trace {
|
||||||
if sess.opts.unstable_opts.llvm_time_trace {
|
sess.time("llvm_dump_timing_file", || {
|
||||||
let file_name = outputs.with_extension("llvm_timings.json");
|
let file_name = outputs.with_extension("llvm_timings.json");
|
||||||
llvm_util::time_trace_profiler_finish(&file_name);
|
llvm_util::time_trace_profiler_finish(&file_name);
|
||||||
}
|
});
|
||||||
});
|
}
|
||||||
|
|
||||||
Ok((codegen_results, work_products))
|
Ok((codegen_results, work_products))
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,8 +133,8 @@ fn coherent_trait(tcx: TyCtxt<'_>, def_id: DefId) {
|
||||||
check_impl(tcx, impl_def_id, trait_ref);
|
check_impl(tcx, impl_def_id, trait_ref);
|
||||||
check_object_overlap(tcx, impl_def_id, trait_ref);
|
check_object_overlap(tcx, impl_def_id, trait_ref);
|
||||||
|
|
||||||
tcx.sess.time("unsafety_checking", || unsafety::check_item(tcx, impl_def_id));
|
unsafety::check_item(tcx, impl_def_id);
|
||||||
tcx.sess.time("orphan_checking", || tcx.ensure().orphan_check_impl(impl_def_id));
|
tcx.ensure().orphan_check_impl(impl_def_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
builtin::check_trait(tcx, def_id);
|
builtin::check_trait(tcx, def_id);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue