You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge bitcoin#31933: doc: Add Clang/LLVM based coverage report generation
b96f1a6 add clang/llvm based coverage report generation (Prabhat Verma)
Pull request description:
Followed up from the [comment](bitcoin#31927 (comment)) on the issue [bitcoin#31927](bitcoin#31927) , issues have been observed building coverage reports with `gcov` in MacOs and NixOs. This PR adds the steps to generate a coverage report based on the default llvm/clang tooling.
ACKs for top commit:
Crypt-iQ:
tACK b96f1a6
hodlinator:
re-ACK b96f1a6
janb84:
Re ACK [b96f1a6](bitcoin@b96f1a6)
Tree-SHA512: bc54f170e84bb76b3eba7285bd49f051c0b99b784d583a550d8e51511497bcc4df8964bbe3991777648d2f829809db8eabb0cbf0d25f9da5e49e1cfc62f6d8d0
> **Note:** The "functions have mismatched data" warning can be safely ignored, the coverage report will still be generated correctly despite this warning.
574
+
> This warning occurs due to profdata mismatch created during the merge process for shared libraries.
575
+
576
+
The generated coverage report can be accessed at `build/coverage_report/index.html`.
577
+
519
578
### Performance profiling with perf
520
579
521
580
Profiling is a good way to get a precise idea of where time is being spent in
0 commit comments