From: Martin Liska Date: Tue, 9 Jul 2019 07:41:19 +0000 (+0200) Subject: Enhance documentation of -fprofile-note option. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64865fe0f97de642327c673090e2e0d051bb3ec3;p=gcc.git Enhance documentation of -fprofile-note option. 2019-07-09 Martin Liska * doc/invoke.texi: Add link from -fprofile-dir option. Use better wording for 'gcno filename'. From-SVN: r273262 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a6c99aca4b2..1b7bfb676f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-09 Martin Liska + + * doc/invoke.texi: Add link from -fprofile-dir option. + Use better wording for 'gcno filename'. + 2019-07-08 Martin Sebor PR middle-end/71924 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 7654c9b21f3..0c20cb6814e 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -12376,7 +12376,7 @@ profile data file appears in the same directory as the object file. In order to prevent the file name clashing, if the object file name is not an absolute path, we mangle the absolute path of the @file{@var{sourcename}.gcda} file and use it as the file name of a -@file{.gcda} file. +@file{.gcda} file. See similar option @option{-fprofile-note}. When an executable is run in a massive parallel environment, it is recommended to save profile to different folders. That can be done with variables @@ -12414,7 +12414,9 @@ To optimize the program based on the collected profile information, use @item -fprofile-note=@var{path} @opindex fprofile-note -If @var{path} is specified, GCC saves gcno filename into @var{path} location. +If @var{path} is specified, GCC saves @file{.gcno} file into @var{path} +location. If you combine the option with multiple source files, +the @file{.gcno} file will be overwritten. @item -fprofile-update=@var{method} @opindex fprofile-update