Hi,
after upgrading mxe, I noticed that my coverage information is missing for my test runs.
I have even tried with a minimal app, I am running run
x86_64-w64-mingw32.shared-g++ -o myprogram -coverage main.cpp
or
x86_64-w64-mingw32.shared-g++ -o myprogram -fprofile-arcs -ftest-coverage -lgcov main.cpp
and run the program a .gcda file is supposed to appear which would contain the coverage about the execution. This is exactly what happens with 4.9.4, but with the new compiler, I have no gcda files.
gcno files are correctly generated during the build, and I think lgcov is linked, because I am able to call
__gcov_init()
__gcov_flush()
__gcov_dump()
without linking issues, though, without any change.
Do you have an idea what to check / or have you noticed some change in using gcov with this compiler?
Thanks for any pointers in advance,
Robert