W-M-R commented on PR #21344:
URL: https://github.com/apache/nuttx/pull/21344#issuecomment-6967610451

   > This PR removes `-t`, so the commands at 
Documentation/applications/system/gcov/index.rst:93, 142 and 145 fail with this 
PR.
   
   Fixed in 208cc16 ("Documentation: gcov: update tools/gcov.py usage for the 
new CLI"), pushed on top of this PR.
   
   - index.rst:93 (sim example): ./nuttx/tools/gcov.py -t gcov → 
./tools/gcov.py -e nuttx -s .. The report is now at <result>/report/index.html 
(the tool also prints a file:// link), not the old gcov/result/index.html.
   - index.rst:142/145 (GCC on device): the two -t gcov / -t arm-none-eabi-gcov 
lines are now a single ./tools/gcov.py -e nuttx -s . -a <exported data> 
(index.rst:145). The toolchain and target arch come from -e, so there is 
nothing left to select by hand — the same command covers sim and cross builds. 
-b OLD=NEW is documented for the case where the build tree differs from the 
checkout.
   - Same commit also updates the CLANG section, which still told users to 
drive llvm-profdata merge / llvm-cov show by hand: it now uses the unified 
gcov.py -e ... -a ... invocation, with --llvm-html documented for the 
region-level llvm-cov show rendering.
   - While in that file: dropped the duplicated 2. Applicable to device heading 
and the stale tools/gcov.sh reference.
   
   Verified the page with a Sphinx build: no new RST warnings compared with the 
previous revision.
   
   The "No impact on ... documentation" line in the PR description no longer 
applies — this commit only touches the doc.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to