aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-04-10 13:44:08 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-04-10 11:44:08 +0000
commit620626daa52bb69df06c3ece4d3f0ef65c7f6d9d (patch)
tree44d4e004286eec4a88a80fd9cb229989ed5db654
parentf95b75977014fbbc919bd7a478bbaab24438b001 (diff)
downloadgcc-620626daa52bb69df06c3ece4d3f0ef65c7f6d9d.zip
gcc-620626daa52bb69df06c3ece4d3f0ef65c7f6d9d.tar.gz
gcc-620626daa52bb69df06c3ece4d3f0ef65c7f6d9d.tar.bz2
Make gcov docs more precise (PR gcov-profile/89959).
2019-04-10 Martin Liska <mliska@suse.cz> PR gcov-profile/89959 * doc/gcov.texi: Make documentation of -x option more precise. From-SVN: r270251
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/gcov.texi6
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7dd4305..522538c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2019-04-10 Martin Liska <mliska@suse.cz>
+
+ PR gcov-profile/89959
+ * doc/gcov.texi: Make documentation of -x option
+ more precise.
+
2019-04-10 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (_stmt_vec_info): Remove same_dr_stmt
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi
index e086c30..dcdd783 100644
--- a/gcc/doc/gcov.texi
+++ b/gcc/doc/gcov.texi
@@ -431,13 +431,15 @@ Print verbose informations related to basic blocks and arcs.
@item -x
@itemx --hash-filenames
-By default, gcov uses the full pathname of the source files to create
+When using @var{--preserve-paths},
+gcov uses the full pathname of the source files to create
an output filename. This can lead to long filenames that can overflow
filesystem limits. This option creates names of the form
@file{@var{source-file}##@var{md5}.gcov},
where the @var{source-file} component is the final filename part and
the @var{md5} component is calculated from the full mangled name that
-would have been used otherwise.
+would have been used otherwise. The option is an alternative
+to the @var{--preserve-paths} on systems which have a filesystem limit.
@end table