[cfe-dev] Code coverage on clang

mbm_kalpesh mbm_kalpesh at yahoo.co.in
Mon Jul 8 00:24:01 PDT 2013


Hi, 
I know how to use GCOV and LCOV to get code coverage on GCC.
But This time i need to use clang and get instrumented binaries and code
coverage. 

Please help (not able to find much info yet). Tried using -fprofile-arcs and
-ftest-coverage. code is compiling fine but giving link errors.

Thanks in Advance,
Kalpesh




--
View this message in context: http://clang-developers.42468.n3.nabble.com/Code-coverage-on-clang-tp4033066.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list