Murugaiyan Perumal(deleted)
|
Code coverage report is generated for some shared library
|
Murugaiyan Perumal(deleted)
07/31/2017 5:28 AM
post117930
|
Code coverage report is generated for some shared library
I enabled code coverage options for the application and shared library.
Application 1, shared library 1, shared library 2.
I used the signal handler (SIGUSR2) in application 1 to execute the __gcov_flush. I can see the code coverage is
generated for all the app files, shared library 1 and 2 source files.
Similarly I enabled the code coverage options for application 2 and shared library.
Application 2, shared library 3, shared library 4.
I used the signal handler *SIGUSR2)in application 2 to trigger the __gcov_flush data.
I can able to see the code coverage data only for application 2 not for the shared library 3 and 4.
I'm running application 1 and 2 in single target which runs in QNX 6.6, x86 platform. Really don't understand why the
code coverage data is generated for shared library 1 and 2 in application 1, why not code coverage data is not generated
for shared library 3 and 4 for the application 2.
I have also compared the make output in IDE for both application 1 and 2. The options are same for both application 1
and 2.
I'm using the QNX IDE version 5.0.1.
Please let me know why there is a differences code coverage data (gcda ) files are not generated for shared library 3
and 4.
|
|
|