about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-11 19:42:51 +0100
committerGitHub <noreply@github.com>2024-01-11 19:42:51 +0100
commit8294356a5d0c296f9ef08358129d92273d9ba437 (patch)
tree8b03af055244d684c313ba756a4b08826944934b /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parentf5387a1c38822cb9c13686ed0cbc83069668ca3b (diff)
parent124fff0777014323be34f0a990c78c5cfe9f40db (diff)
downloadrust-8294356a5d0c296f9ef08358129d92273d9ba437.tar.gz
rust-8294356a5d0c296f9ef08358129d92273d9ba437.zip
Rollup merge of #119842 - Zalathar:kind, r=oli-obk
coverage: Add enums to accommodate other kinds of coverage mappings

Extracted from  #118305.

LLVM supports several different kinds of coverage mapping regions, but currently we only ever emit ordinary “code” regions.  This PR performs the plumbing required to add other kinds of regions as enum variants, but does not add any specific variants other than `Code`.

The main motivation for this change is branch coverage, but it will also allow separate experimentation with gap regions and skipped regions, which might help in producing more accurate and useful coverage reports.

---

``@rustbot`` label +A-code-coverage
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions