Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Intel CodeCov on VxWorks target

Eric_M_
Beginner
314 Views

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.

0 Kudos
1 Reply
Viet_H_Intel
Moderator
314 Views

Hi Eric,

Did your code run successfully when compile without -prof-gen:srcpos?

Do you know who called __exit?

Thanks,

Viet Hoang

0 Kudos
Reply