Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 415

Code Coverage tool with large project

$
0
0

My code base is very large and uses many different module files.  I am trying to use the code coverage tool with intel 16.0.3.210 on linux to see how much of the code actually gets used.  My compile creates 6 different libraries (.a files) in 6 different folders, and then they are linked at the end.  When I compile using the option  "-prof-gen=srcpos", each folder has a single pgopti.spi and pgopti.spl file with all of the .o and .mod files. When everything is linked together, the executable is created but there is no pgopti.spi file in the executable directory.  I tried to run the program, and there was no .dyn file generated, so I can't use the code coverage tool.  

1.  Should I only get the single pgopti file in each folder, or am I just overwriting it with each new object file I compile?

2. Does the code coverage tool only work on a single file, or should I be able to use it with multiple module files?  If so, what step am I missing to get it to work?

3.  Does it work for static and/or dynamically linked executables?

 

Thanks for the help


Viewing all articles
Browse latest Browse all 415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>