Code Coverage through Gcov

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Code Coverage through Gcov

984 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ramesh on Wed Oct 15 21:51:01 MST 2014
is LPC Xpresso will support to Code coverage tool Gcov? if supported what are the precautions need to be taken.

I've tried the steps that are involved in Eclipse as

"the user has to compile the C/C++ program with profiling enabled using "-ftest-coverage -fprofile-arcs" options prior to running the tool. These two options must be passed via the project properties to both the compiler (C/C++ Build->Settings->Tool Settings->GCC C Compiler->Miscellaneous->Other flags) and the linker (C/C++ Build->Settings->Tool Settings->GCC C Linker->Miscellaneous->Linker flags)."

but even am unable to get the .gcov file.


CAn anybody suggest for the same.

Ramesh
0 Kudos
2 Replies

770 Views
ls100871
Contributor I

Is there any update now?

0 Kudos

770 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Oct 16 03:14:06 MST 2014
Sorry, gcov and gprof is not supported directly by LPCXpresso.