about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder/autodiff.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-04-07 03:19:35 +0000
committerbors <bors@rust-lang.org>2025-04-07 03:19:35 +0000
commitb9856b6e400709392dd14599265b6fd52fc19f3e (patch)
tree4ff8ef41d815f2a1fa4157a94041996b2c94f4e2 /compiler/rustc_codegen_llvm/src/builder/autodiff.rs
parent25a615bf829b9f6d6f22da537e3851043f92e5f2 (diff)
parentb3c40cf374422ac8f6cbb14fa6747b2fae5762db (diff)
downloadrust-b9856b6e400709392dd14599265b6fd52fc19f3e.tar.gz
rust-b9856b6e400709392dd14599265b6fd52fc19f3e.zip
Auto merge of #138766 - Zalathar:unused-fn, r=SparrowLii
coverage: Deal with unused functions and their names in one place

When coverage codegen creates dummy instances and covfun records for unused functions, we already know that they are unused, so we might as well set up the special array of unused function names at the same time.

---

The first commit only moves code around; all significant changes are in the second commit.

There should be no change in compiler output.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder/autodiff.rs')
0 files changed, 0 insertions, 0 deletions