[Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT

qing.zhao at oracle dot com gcc-bugzilla@gcc.gnu.org
Fri May 29 16:37:39 GMT 2020


--- Comment #13 from Qing Zhao <qing.zhao at oracle dot com> ---
> The only exception is a cross-profiling:
> https://gcc.gnu.org/onlinedocs/gcc/Cross-profiling.html
> where one can use GCOV_PREFIX environment variable to save .gcda files to a
> separate location.
> Do you use it? Or do you use any of -fprofile-dir options?

Yes,  We use -fprofile-dir=pd%p when compile the modules.

More information about the Gcc-bugs mailing list