W-M-R opened a new pull request, #14877: URL: https://github.com/apache/nuttx/pull/14877
## Summary Supports data storage for code coverage detection without a file system ## Impact *Update this section, where applicable, on how change affects users, build process, hardware, documentation, security, compatibility, etc.* ## Testing Compile "boards/arm/mps/mps3-an547/configs/gcov", find the module that needs code coverage analysis, add the parameter` "-fprofile-instr-generate -fcoverage-mapping"`, run `qemu-system-arm -M mps3-an547 -nographic -kernel ./nuttx/nuttx`, execute the app that calls __llvm_profile_dump, if you set the dump to memory, read the memory in your own way, such as gdb. If you use the default dump to file, please dump the file to the host, and finally use the following command to run: ``` "llvm-profdata merge -sparse default.profraw -o result.profdata" "llvm-cov show -format=html ./nuttx/nuttx -instr-profile=result.profdata -output-dir=./coverage/" ``` -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org