about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-03-20 20:29:46 -0400
committerGitHub <noreply@github.com>2024-03-20 20:29:46 -0400
commitc6a49220d61f904063f5374c13961949509578e6 (patch)
tree4bba1fd4705471502bed319dc3966a66de788923 /compiler/rustc_codegen_llvm/src
parent4e792df4edc0bb82fa48499cd9f72f9928ea29e9 (diff)
parent2f21e4f8bb86e1877d20bf74289272ecbe2bf103 (diff)
downloadrust-c6a49220d61f904063f5374c13961949509578e6.tar.gz
rust-c6a49220d61f904063f5374c13961949509578e6.zip
Rollup merge of #122764 - Zalathar:loopy, r=oli-obk
coverage: Remove incorrect assertions from counter allocation

These assertions detect situations where a BCB node (in the coverage graph) would have both a physical counter and one or more in-edge counters/expressions.

For most BCBs that situation would indicate an implementation bug. However, it's perfectly fine in the case of a BCB having an edge that loops back to itself.

Given the complexity and risk involved in fixing the assertions, and the fact that nothing relies on them actually being true, this patch just removes them instead.

Fixes #122738.

`````@rustbot````` label +A-code-coverage
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions