about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-12-12 13:49:19 +1100
committerZalathar <Zalathar@users.noreply.github.com>2023-12-16 11:10:11 +1100
commitc57f28bbf75572e10c6165c33a2aef922315fdb4 (patch)
tree094c8efbb0617de8212d6a160091e4b246b67353 /compiler/rustc_codegen_llvm/src/common.rs
parentdfa6441354181ad829baca363b619d0aeb295798 (diff)
downloadrust-c57f28bbf75572e10c6165c33a2aef922315fdb4.tar.gz
rust-c57f28bbf75572e10c6165c33a2aef922315fdb4.zip
coverage: Avoid creating `func_coverage` for marker statements
Coverage marker statements should have no effect on codegen, but in some cases
they could have the side-effect of creating a `func_coverage` entry for their
enclosing function. That can lead to an ICE for functions that don't actually
have any coverage spans.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions