Code coverage using gcov on parallel run
问题 I have C/C++ code coverage setup with gcov for several files in the project. The executables are being run in parallel. This results in some shared piece of code to be run in parallel. I am getting corrupt .da files or zero sized .da files. Is this a problem on parallel run? Because two or more executable instance is trying to write on the same .da file for writing the coverage count for each statement in execution? If so, is there any workaround? Gcov version being used is 1.5 回答1: I had a