Skip to main content

llvm-cov-wheel

PyPI ci part of cpp-linter

LLVM's code coverage tools, llvm-cov and llvm-profdata, as Python wheels on PyPI. One pip install gives you both commands, for any LLVM version from 12 to 23, on Linux, macOS and Windows, x86_64 and arm64.

Website · PyPI · Source-based coverage guide · Discussions

Quick start

pip install llvm-cov        # or: uv tool install llvm-cov
llvm-cov --version
llvm-profdata --version

Pick the version that matches your compiler. The raw profiles that clang writes change format between LLVM releases, so llvm-profdata should come from the same major version as clang:

pip install "llvm-cov==18.*"   # for clang 18

Usage

Source-based coverage with clang:

clang++ -fprofile-instr-generate -fcoverage-mapping -o app main.cpp
LLVM_PROFILE_FILE=app.profraw ./app
llvm-profdata merge -sparse app.profraw -o app.profdata
llvm-cov report ./app -instr-profile=app.profdata
llvm-cov export ./app -instr-profile=app.profdata -format=lcov > coverage.lcov

With gcovr and --coverage builds:

pip install gcovr llvm-cov
gcovr --gcov-executable "llvm-cov gcov"

llvm-cov and llvm-profdata are installed straight into the environment's bin/ (Scripts\ on Windows), with no Python wrapper in between.

Supported platforms

Platform Architecture Wheel tag
Linux (glibc 2.17+ and musl) x86_64 manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64
Linux (glibc 2.17+ and musl) aarch64 manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64
macOS 15+ Intel (x86_64) macosx_15_0_x86_64
macOS 11+ Apple Silicon (arm64) macosx_11_0_arm64
Windows x86_64 win_amd64
Windows ARM64 win_arm64

The Linux binaries are fully static, so one wheel works on both glibc and musl distributions. The macOS tags carry the minimum macOS version that the binaries declare.

The wheel version is the LLVM version, for example 23.1.6. A packaging-only fix is released as 23.1.6.1.

Where the binaries come from

The wheels contain the llvm-cov and llvm-profdata binaries of the clang-tools-static-binaries releases, unchanged. Those are built from the official LLVM source releases, with build provenance attestations. sources.json pins the SHA-512 of every file, and the build refuses any download that does not match.

This is not an official LLVM project, so report problems with the tools themselves upstream.

Contributing

See the contributing guide and open an issue for packaging bugs and feature requests.

License

The build scripts and workflows in this repository are released under the MIT License. LLVM, and so the wheels, are under the Apache License 2.0 with LLVM Exceptions; the wheels carry its license file.

Metadata

Release files for llvm-cov 18.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for llvm-cov 18.1.8
File Actions
llvm_cov-18.1.8-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for llvm_cov-18.1.8-py3-none-win_arm64.whl
llvm_cov-18.1.8-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for llvm_cov-18.1.8-py3-none-win_amd64.whl
llvm_cov-18.1.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux musl 1.1+ x86-64 Details for llvm_cov-18.1.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
llvm_cov-18.1.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux musl 1.1+ ARM64 Details for llvm_cov-18.1.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
llvm_cov-18.1.8-py3-none-macosx_15_0_x86_64.whl Python 3 none macOS 15.0+ x86-64 Details for llvm_cov-18.1.8-py3-none-macosx_15_0_x86_64.whl
llvm_cov-18.1.8-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for llvm_cov-18.1.8-py3-none-macosx_11_0_arm64.whl

Total release size: 22.1 MB

Release files / llvm_cov-18.1.8-py3-none-win_arm64.whl

Download URL llvm_cov-18.1.8-py3-none-win_arm64.whl
Size 3.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
bd35b136ac2a89fd5421813e4502d09c78ba75121078962c2213b960335f7cd7
BLAKE2b-256 checksum
How to use checksums
4400a7db71eb1fc5c86af60ea61e6e5106f101336d80eee3a171cd12fe368fe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / llvm_cov-18.1.8-py3-none-win_amd64.whl

Download URL llvm_cov-18.1.8-py3-none-win_amd64.whl
Size 3.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
213b084181853a8c3c236d610e567f0c7dd52746fa0ce510c178f6dc9c29ce4d
BLAKE2b-256 checksum
How to use checksums
6b84c7a6c76b8056e720b0d01ecf4cc83fd3dba22b43d4942674071643275b3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / llvm_cov-18.1.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl

Download URL llvm_cov-18.1.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e1ac4db918b2a9ac90b1b392557bc2fe70bf4a3337b9e3c3e9ec73f27c6d042e
BLAKE2b-256 checksum
How to use checksums
f027b982dabbe1d4c7783a1c7f72cb901f377c2a3b55c7f7d890d1f1247c1f59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / llvm_cov-18.1.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl

Download URL llvm_cov-18.1.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Size 3.1 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b0efba8bbc7465589e8bb66b3de3decd0bbf217386614b5f3f1bc9a19b980a32
BLAKE2b-256 checksum
How to use checksums
2e092aa7b59e0e56ee8a81f668798c8498704f31275395b5b72ac33534fe4dfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / llvm_cov-18.1.8-py3-none-macosx_15_0_x86_64.whl

Download URL llvm_cov-18.1.8-py3-none-macosx_15_0_x86_64.whl
Size 4.4 MB
Tags Python 3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
d06ed9394ad61778545344b7a388debf36b56c8e61ffb967e7f8ebc4dce8ad7c
BLAKE2b-256 checksum
How to use checksums
5255027db8c67fe5c25f84f5a4bef45f3d1a5738ff79df651f1ba3f9d1097353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / llvm_cov-18.1.8-py3-none-macosx_11_0_arm64.whl

Download URL llvm_cov-18.1.8-py3-none-macosx_11_0_arm64.whl
Size 4.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d0840d8f05d2ffa0044529d971c9e4b2c724a19c5dd9dca68382ac486f1522fe
BLAKE2b-256 checksum
How to use checksums
85f3f521f61696dde5a00a8b559c606e2add1a40b395a88726b7cdb6ad968397
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for llvm-cov 18.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for llvm_cov-18.1.8-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page