We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm using armclang Embedded FuSa compiler 6.16.2. I want to perform code coverage,
is there a compiler option for code coverage like in gcc -ftest-coverage ?
$gcc -fprofile-arcs -ftest-coverage test.c
I don't believe such functionality is provided.
Which processor are you using? Debuggers such as Keil uVision provide this functionality at run-time:
https://developer.arm.com/documentation/101407/0538/Debugging/Debug-Windows-and-Dialogs/Code-Coverage
Regards, Ronan