gcov patch, source prefixes

Nathan Sidwell nathan@acm.org
Sun Nov 13 14:32:00 GMT 2011


I've committed this patch to gcov, to add two new options.

*) a --source-prefix (-s) option, which allows you to specify a source path 
prefix that you want eliding from source file names.  You'd usually use this if 
you're building in a separate directory.

*) a --relative-only (-r) option, which will elide information for source files 
with an absolute path (after detecting any source prefix).  Usually absolute 
paths are system include files, and coverage of any inline functions they 
contain is uninteresting.

tested on i686-pc-linux-gnu.

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


More information about the Gcc-patches mailing list