From: Martin Liska Date: Wed, 10 Apr 2019 11:44:08 +0000 (+0200) Subject: Make gcov docs more precise (PR gcov-profile/89959). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=620626daa52bb69df06c3ece4d3f0ef65c7f6d9d;p=gcc.git Make gcov docs more precise (PR gcov-profile/89959). 2019-04-10 Martin Liska PR gcov-profile/89959 * doc/gcov.texi: Make documentation of -x option more precise. From-SVN: r270251 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7dd43051607..522538c5d54 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-04-10 Martin Liska + + PR gcov-profile/89959 + * doc/gcov.texi: Make documentation of -x option + more precise. + 2019-04-10 Richard Biener * tree-vectorizer.h (_stmt_vec_info): Remove same_dr_stmt diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index e086c3084f9..dcdd7831ff0 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