about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-12-09 13:38:27 -0800
committerGitHub <noreply@github.com>2020-12-09 13:38:27 -0800
commit3b49a46c6b6bb2731d28ec1e7011fba13d002a42 (patch)
treebb221a724ad9f9c5874c0fe67167a4741b5fa093 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parenta410af97a8e315b70c3be39951c264cee7afa7c8 (diff)
parent95c268f64d71427b00b46fde8fbf499d380e9409 (diff)
downloadrust-3b49a46c6b6bb2731d28ec1e7011fba13d002a42.tar.gz
rust-3b49a46c6b6bb2731d28ec1e7011fba13d002a42.zip
Rollup merge of #79818 - richkadel:llvm-coverage-counters-2.1.0, r=tmandry
Fixes to Rust coverage

Fixes: #79725

Some macros can create a situation where `fn_sig_span` and `body_span`
map to different files.

New documentation on coverage tests incorrectly assumed multiple test
binaries could just be listed at the end of the `llvm-cov` command,
but it turns out each binary needs a `--object` prefix.

This PR fixes the bug and updates the documentation to correct that
issue. It also fixes a few other minor issues in internal implementation
comments, and adds documentation on getting coverage results for doc
tests.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions