rust/compiler/rustc_codegen_ssa/src
Guillaume Gomez 526c67f37b
Rollup merge of #131829 - Zalathar:goodbye-zprofile, r=chenyukang
Remove support for `-Zprofile` (gcov-style coverage instrumentation)

Tracking issue: #42524

MCP: https://github.com/rust-lang/compiler-team/issues/798

---

This PR removes the unstable `-Zprofile` flag, which enables ”gcov-style” coverage instrumentation, along with its associated `-Zprofile-emit` configuration flag.

(The profile flag predates and is almost entirely separate from the stable `-Cinstrument-coverage` flag.)

Notably, the `-Zprofile` flag:
- Is largely untested in-tree, having only one run-make test that does not check whether its output is correct or useful.
- Has no known maintainer.
- Has seen no push towards stabilization.
- Has at least one severe regression reported in 2022 that apparently remains unaddressed.
  - #100125
- Is confusingly named, since it appears to be more about coverage than performance profiling, and has nothing to do with PGO.
- Is fundamentally limited by relying on counters auto-inserted by LLVM, with no knowledge of Rust beyond debuginfo.
2024-11-02 03:08:49 +08:00
..
back Rollup merge of #131829 - Zalathar:goodbye-zprofile, r=chenyukang 2024-11-02 03:08:49 +08:00
debuginfo Effects cleanup 2024-10-26 10:19:07 +08:00
mir compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
traits compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
assert_module_sources.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
base.rs TypingMode 🤔 2024-10-29 17:01:24 +01:00
codegen_attrs.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
common.rs Clean up formatting. 2024-09-17 16:24:35 +10:00
errors.rs Rollup merge of #130308 - davidtwco:tied-target-consolidation, r=wesleywiser 2024-10-10 22:00:45 +02:00
lib.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
meth.rs fix ices on vfe about principal trait 2024-09-23 15:25:52 +08:00
mono_item.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
size_of_val.rs fix ices on vfe about principal trait 2024-09-23 15:25:52 +08:00
target_features.rs get rid of feature list in target feature logic 2024-10-23 09:14:43 +01:00