From 620626daa52bb69df06c3ece4d3f0ef65c7f6d9d Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 10 Apr 2019 13:44:08 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/doc/gcov.texi | 6 ++++-- 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 + + 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 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 -- 2.7.4