about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-09-20 17:33:17 +0200
committerGitHub <noreply@github.com>2023-09-20 17:33:17 +0200
commitc5c4e18913b1510cb0f3c35ed8c338472b8eb12c (patch)
tree2e17f3883bd42e697047b68bbf02e74b7b95764f /compiler/rustc_codegen_llvm/src
parent4e8f63778375eeb5638c4a537bf1e3828beb6117 (diff)
parente015f5a3706a365d12ebd12c1e3b4a54631ddac8 (diff)
downloadrust-c5c4e18913b1510cb0f3c35ed8c338472b8eb12c.tar.gz
rust-c5c4e18913b1510cb0f3c35ed8c338472b8eb12c.zip
Rollup merge of #115962 - Zalathar:debug, r=oli-obk
coverage: Remove debug code from the instrumentor

The coverage instrumentor has an entire module full of complex code that is only used for debugging.

And as I continue to work on coverage, I keep finding that this debug code is constantly causing more trouble than it's worth. It's deeply entangled with current implementation details, such that making any non-trivial change to the instrumentor usually requires major changes to the debug code. And so far I have personally not found any of this debug code to be *useful*.

In light of that situation, I'd like to try just ripping all of it out. If I spend any more time dealing with coverage debug code, I want it to be because I'm writing new and useful tools, not dutifully maintaining a boat-anchor that quite plausibly isn't being used by anyone at all.

---
r? `@ghost`
`@rustbot` label +A-code-coverage

---

[Zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Removing.20debug.20code.20from.20the.20coverage.20instrumentor)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions