From 0620f4d79e270f1a455a7ec099504d44dc6180e6 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 11 Sep 2020 15:31:35 +0100 Subject: [PATCH] doc: fix spelling of -fprofile-reproducibility gcc/ChangeLog: * doc/invoke.texi: fix '-fprofile-reproducibility' option spelling in manual. --- gcc/doc/invoke.texi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e3e67c9b3bd..6d9ff2c3362 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -558,7 +558,8 @@ Objective-C and Objective-C++ Dialects}. -fprofile-dir=@var{path} -fprofile-generate -fprofile-generate=@var{path} @gol -fprofile-note=@var{path} -fprofile-prefix-path=@var{path} @gol -fprofile-update=@var{method} -fprofile-filter-files=@var{regex} @gol --fprofile-exclude-files=@var{regex} -fprofile-reproducibility @gol +-fprofile-exclude-files=@var{regex} @gol +-fprofile-reproducible=@r{[}multithreaded@r{|}parallel-runs@r{|}serial@r{]} @gol -fsanitize=@var{style} -fsanitize-recover -fsanitize-recover=@var{style} @gol -fasan-shadow-offset=@var{number} -fsanitize-sections=@var{s1},@var{s2},... @gol -fsanitize-undefined-trap-on-error -fbounds-check @gol @@ -13902,14 +13903,14 @@ any of the regular expressions (separated by semi-colons). For example, @option{-fprofile-exclude-files=/usr/.*} will prevent instrumentation of all files that are located in the @file{/usr/} folder. -@item -fprofile-reproducible +@item -fprofile-reproducible=@r{[}multithreaded@r{|}parallel-runs@r{|}serial@r{]} @opindex fprofile-reproducible Control level of reproducibility of profile gathered by @code{-fprofile-generate}. This makes it possible to rebuild program with same outcome which is useful, for example, for distribution packages. -With @option{-fprofile-reproducibility=serial} the profile gathered by +With @option{-fprofile-reproducible=serial} the profile gathered by @option{-fprofile-generate} is reproducible provided the trained program behaves the same at each invocation of the train run, it is not multi-threaded and profile data streaming is always done in the same @@ -13924,7 +13925,7 @@ Such non-reproducible part of programs may be annotated by @option{-l} can be used to dump gathered data and verify that they are indeed reproducible. -With @option{-fprofile-reproducibility=parallel-runs} collected profile +With @option{-fprofile-reproducible=parallel-runs} collected profile stays reproducible regardless the order of streaming of the data into gcda files. This setting makes it possible to run multiple instances of instrumented program in parallel (such as with @code{make -j}). This -- 2.30.2