I am trying to perform code coverage on a subset of code that is using VxWorks as an O.S. When I compile everything with the intel compiler using the -prof-gen:srcpos flag it seems to generate the correct static profile instrumentation. However, when I run the executable, there are undefined symbols. At first, it symbols was specific to the libipgo.a library, but after I included that library, it gave me another undefined symbol error saying "__exit" was not defined. Are there any ideas on how to get rid of this error? Any help would be appreciated.
For more complete information about compiler optimizations, see our Optimization Notice.