Two questions on the use of code coverage for icc/icpc 10:
- How can I exclude an entire namespace of functions from appearing in the coverage report? E.g. I use the Eigen C++ header-only as well as the STL but want none of std:: or Eigen:: appearing in my report. 'profmerge -exclude_funcs std::.,Eigen::.' does not seem to work.
- How can I merge multiple .spi files and run codecov against them? E.g. I have a source directory containing .hpp header-only code as well as .c/.h source files. So I get two pgopti.spi files. The first is in src/ and the second is in test/. src/pgopti.spi contains information about the .c code while test/pgopti.c contains information about my .hpp header-only files as they are compiled into my tests.