Code Coverage through Gcov

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Code Coverage through Gcov

998件の閲覧回数
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 返答(返信)

784件の閲覧回数
ls100871
Contributor I

Is there any update now?

0 件の賞賛

784件の閲覧回数
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.