diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-09-13 18:37:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-13 18:37:41 +0200 |
| commit | 5dc37c1966476abc4c89b0ba063491eaa318efb8 (patch) | |
| tree | 39f473899b4f45a5d7709079bd2295165ac47086 /compiler/rustc_codegen_llvm/src | |
| parent | 76e59c71e8b7790b999a34d1961519a3625648cf (diff) | |
| parent | c64e15e817abbe4a2be0143a10c7c4334fa3bdd8 (diff) | |
| download | rust-5dc37c1966476abc4c89b0ba063491eaa318efb8.tar.gz rust-5dc37c1966476abc4c89b0ba063491eaa318efb8.zip | |
Rollup merge of #115736 - Zoxc:time-cleanup, r=wesleywiser
Remove `verbose_generic_activity_with_arg` This removes `verbose_generic_activity_with_arg` and changes users to `generic_activity_with_arg`. This keeps the output of `-Z time` readable while these repeated events are still available with the self profiling mechanism.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/lto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/lto.rs b/compiler/rustc_codegen_llvm/src/back/lto.rs index 5cf83b1accb..ba263296bb4 100644 --- a/compiler/rustc_codegen_llvm/src/back/lto.rs +++ b/compiler/rustc_codegen_llvm/src/back/lto.rs @@ -605,7 +605,7 @@ pub(crate) fn run_pass_manager( module: &mut ModuleCodegen<ModuleLlvm>, thin: bool, ) -> Result<(), FatalError> { - let _timer = cgcx.prof.verbose_generic_activity_with_arg("LLVM_lto_optimize", &*module.name); + let _timer = cgcx.prof.generic_activity_with_arg("LLVM_lto_optimize", &*module.name); let config = cgcx.config(module.kind); // Now we have one massive module inside of llmod. Time to run the |
