[gcov] a few improvements
Nathan Sidwell
nathan@acm.org
Mon Jun 4 07:50:00 GMT 2012
On 06/03/12 21:40, Xinliang David Li wrote:
>> Can you explain this more -- what exactly are trying to do? Are you trying
>> to rebuild multiple times with the same coverage data,
>
> yes -- for instance, in the context of debugging a compiler problem,
> you will need to compile the same file multiple times with the same
> coverage data.
ok, debugging the compiler is not the typical user mode of use.
Do any of the following work for you?
*) don't use -frandom-seed (you don't say why you're using this flag)
*) copy and restore the coverage data file
*) stub out the unlink code at the end of coverage.c. (I presume that you're
rebuilding cc1 with optimization off anyway, and as you're debugging a compiler
problem with FDO you're somewhat familiar with coverage.c).
nathan
More information about the Gcc-patches
mailing list