doc: update llvm based coverage example #35153

pull m3dwards wants to merge 1 commits into bitcoin:master from m3dwards:240226-llvm-cov-doc changing 1 files +2 −1
  1. m3dwards commented at 8:04 PM on April 24, 2026: contributor

    The old example was working on my Mac but when run on Linux I was finding that I had missing coverage information.

    On some systems the old example of using xargs to pass list of profraw files can exceed xargs's argument limit resulting in multiple executions of llvm-profdata merge command which overwrites it's output file losing coverage information. This PR switches the example to using a file with a list of filenames.

    There are other ways to solve this like using bash's globbing or a one liner with temporary file but I felt like this was the most simple, robust and easy to understand.

  2. doc: update llvm based coverage example
    On some systems the old example of using xargs to pass list of profraw
    files can exceed xargs's argument limit resulting in multiple executions
    of llvm-profdata merge command which overwrites it's output file losing
    coverage information. Switch to using a file with a list of filenames.
    ef21e29298
  3. DrahtBot added the label Docs on Apr 24, 2026
  4. DrahtBot commented at 8:04 PM on April 24, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK vasild, sedited

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. vasild approved
  6. vasild commented at 4:11 AM on April 25, 2026: contributor

    ACK ef21e2929888ab727a03996073627c25c7e92eed

    <details> <summary>Show Signature</summary>

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256
    
    ACK ef21e2929888ab727a03996073627c25c7e92eed
    -----BEGIN PGP SIGNATURE-----
    
    iQQzBAEBCAAdFiEE5k2NRWFNsHVF2czBVN8G9ktVy78FAmnsPrgACgkQVN8G9ktV
    y78KVx//SOvkKgdSS5bqLW2heFQKiNcGTRmIpiOVI8zGnnaOUV2mYGZka/FWSvih
    +KcfvO83Z9ADLRpgnVe/SiNigrfAg5xfjHh3SB8FpfOOZLPeXdIPp3HRF12ULoP9
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zPj2k8uDgtTXBPe+wceDVXnu8JtIxZ81OHlbFZkbGnQc4T8brb2DwXi
    jajEiXwBpGdVDdqVojUFjTqEIIXW8q60GKLdnIPhFOlXmjdCkS55C4nbFW+rcjyv
    s264Q6wFvc0ieXYtMmprh8E+pfiqGsWHRjONKQtjYIglnS32/tU2t6BvZkDk8WK3
    +FbTLt5jEz4Kz7wmU+60028VFRXtXQ==
    =Y1bJ
    -----END PGP SIGNATURE-----
    

    vasild's public key is on openpgp.org

    </details>

  7. sedited approved
  8. sedited commented at 1:25 PM on April 27, 2026: contributor

    ACK ef21e2929888ab727a03996073627c25c7e92eed

  9. sedited merged this on Apr 27, 2026
  10. sedited closed this on Apr 27, 2026

  11. m3dwards deleted the branch on Apr 27, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me