[Gcov] Unbreak C++ coverage

Nathan Sidwell nathan@acm.org
Thu Dec 1 20:05:00 GMT 2011


I've committed this patch, which unbreaks the firefox build problem Markus 
found.  The problem is that the list of functions to emit coverage data is 
determined before the final culling of functions that don't need emitting. 
There's a circular dependency here with the cgraph machinery, and I need to look 
carefully as to how that might be broken.

This does revert some of the new features I was implementing, and the xfailed 
gcov test is a case of this.  I decided to simply remove the tests checking 
coverage object visibility, rather than augment the scan-assembler machinery.

tested on i686-pc-linux-gnu.  Thanks to Markus for verifying this patch does 
indeed unbreak firefox.

nathan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: revert.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111201/be5a623b/attachment.ksh>


More information about the Gcc-patches mailing list