about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-10-17 20:11:20 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-10-31 09:09:25 +1100
commitce3e14a448e090abf494a91b87f124258c542d4c (patch)
tree9d0af14b1e682239e125da4f4ee05e0d092ad98e /compiler/rustc_codegen_llvm/src/back/write.rs
parent759e07f063fb8e6306ff1bdaeb70af56a878b415 (diff)
downloadrust-ce3e14a448e090abf494a91b87f124258c542d4c.tar.gz
rust-ce3e14a448e090abf494a91b87f124258c542d4c.zip
Remove support for `-Zprofile` (gcov-style coverage instrumentation)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/write.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs
index bfa9e8b82a0..cf7b16c9cc4 100644
--- a/compiler/rustc_codegen_llvm/src/back/write.rs
+++ b/compiler/rustc_codegen_llvm/src/back/write.rs
@@ -591,7 +591,6 @@ pub(crate) unsafe fn llvm_optimize(
             pgo_use_path.as_ref().map_or(std::ptr::null(), |s| s.as_ptr()),
             config.instrument_coverage,
             instr_profile_output_path.as_ref().map_or(std::ptr::null(), |s| s.as_ptr()),
-            config.instrument_gcov,
             pgo_sample_use_path.as_ref().map_or(std::ptr::null(), |s| s.as_ptr()),
             config.debug_info_for_profiling,
             llvm_selfprofiler,