diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-18 11:57:17 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-18 11:57:17 +0000 |
commit | 7a0ad664fcc900952a98c2a8520a76299e8fa481 (patch) | |
tree | 724288cd7e8211ba33316c9a033537487ba945b0 /gcc/doc/gcov.texi | |
parent | fd0f951e714dbf7ec7cdea436613664acf30bcfc (diff) | |
download | gcc-7a0ad664fcc900952a98c2a8520a76299e8fa481.tar.gz |
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76098 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/gcov.texi')
-rw-r--r-- | gcc/doc/gcov.texi | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index 8f0a23cae5d..b219c0f18b9 100644 --- a/gcc/doc/gcov.texi +++ b/gcc/doc/gcov.texi @@ -211,12 +211,12 @@ Unconditional branches are normally not interesting. @end table -@command{gcov} should be run with the current directory the same as that -when you invoked the compiler. Otherwise it will not be able to locate -the source files. @command{gcov} produces files called -@file{@var{mangledname}.gcov} in the current directory. These contain -the coverage information of the source file they correspond to. -One @file{.gcov} file is produced for each source file containing code, +@command{gcov} should be run with the current directory the same as that +when you invoked the compiler. Otherwise it will not be able to locate +the source files. @command{gcov} produces files called +@file{@var{mangledname}.gcov} in the current directory. These contain +the coverage information of the source file they correspond to. +One @file{.gcov} file is produced for each source file containing code, which was compiled to produce the data files. The @var{mangledname} part of the output file name is usually simply the source file name, but can be something more complicated if the @samp{-l} or @samp{-p} options are @@ -280,12 +280,12 @@ Here is a sample: function main called 1 returned 1 blocks executed 75% 1: 4:@{ 1: 5: int i, total; - -: 6: + -: 6: 1: 7: total = 0; - -: 8: + -: 8: 11: 9: for (i = 0; i < 10; i++) 10: 10: total += i; - -: 11: + -: 11: 1: 12: if (total != 45) #####: 13: printf ("Failure\n"); -: 14: else @@ -310,14 +310,14 @@ function main called 1 returned 1 blocks executed 75% 1: 4:@{ 1: 4-block 0 1: 5: int i, total; - -: 6: + -: 6: 1: 7: total = 0; - -: 8: + -: 8: 11: 9: for (i = 0; i < 10; i++) 11: 9-block 0 10: 10: total += i; 10: 10-block 0 - -: 11: + -: 11: 1: 12: if (total != 45) 1: 12-block 0 #####: 13: printf ("Failure\n"); @@ -369,14 +369,14 @@ Here is a sample of a resulting @file{tmp.c.gcov} file: function main called 1 returned 1 blocks executed 75% 1: 4:@{ 1: 5: int i, total; - -: 6: + -: 6: 1: 7: total = 0; - -: 8: + -: 8: 11: 9: for (i = 0; i < 10; i++) branch 0 taken 91% (fallthrough) branch 1 taken 9% 10: 10: total += i; - -: 11: + -: 11: 1: 12: if (total != 45) branch 0 taken 0% (fallthrough) branch 1 taken 100% |