aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-04-19 11:43:31 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2003-04-19 11:43:31 +0000
commit8555daffa5ad568fec98d06b879f82e954b8f98a (patch)
tree5e3b86ba85b12824c183120928cb9aa96d0abbc9 /gcc
parentcb4cfe5dc1c120fc6090d5896fd7de9e49a47618 (diff)
downloadgcc-8555daffa5ad568fec98d06b879f82e954b8f98a.zip
gcc-8555daffa5ad568fec98d06b879f82e954b8f98a.tar.gz
gcc-8555daffa5ad568fec98d06b879f82e954b8f98a.tar.bz2
invoke.texi (-fprofile-arcs): Mention -lgcov, locking and fork behaviour.
* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and fork behaviour. From-SVN: r65813
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi9
2 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5be4086..fa80d37 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-19 Nathan Sidwell <nathan@codesourcery.com>
+
+ * doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
+ fork behaviour.
+
2003-04-19 Neil Booth <neil@daikokuya.co.uk>
* cppexp.c (eval_token): Permit true and false even if pedantic.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7201dd7..f4d23fe 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3032,11 +3032,16 @@ additional @option{-ftest-coverage} option. You do not need to profile
every source file in a program.
@item
-Link your object files as normal.
+Link your object files with @option{-lgcov} or @option{-fprofile-arcs}
+(the latter implies the former).
@item
Run the program on a representative workload to generate the arc profile
-information. This may be repeated any number of times.
+information. This may be repeated any number of times. You can run
+concurrent instances of your program, and provided that the file system
+supports locking, the data files will be correctly updated. Also
+@code{fork} calls are detected and correctly handled (double counting
+will not happen).
@item
For profile-directed optimizations, compile the source files again with