Code Coverage through Gcov

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Code Coverage through Gcov

996 次查看
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 项奖励
2 回复数

782 次查看
ls100871
Contributor I

Is there any update now?

0 项奖励

782 次查看
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.