Backport r254257
2017-11-21 Martin Liska <mliska@suse.cz> Backport from mainline 2017-10-31 Martin Liska <mliska@suse.cz> PR gcov-profile/82633 * doc/gcov.texi: Document -fkeep-{static,inline}-functions and their interaction with GCOV infrastructure. From-SVN: r255010
This commit is contained in:
parent
39ac3ee8a4
commit
11f7624968
|
@ -1,3 +1,12 @@
|
|||
2017-11-21 Martin Liska <mliska@suse.cz>
|
||||
|
||||
Backport from mainline
|
||||
2017-10-31 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR gcov-profile/82633
|
||||
* doc/gcov.texi: Document -fkeep-{static,inline}-functions and
|
||||
their interaction with GCOV infrastructure.
|
||||
|
||||
2017-11-21 Martin Liska <mliska@suse.cz>
|
||||
|
||||
Backport from mainline
|
||||
|
|
|
@ -328,6 +328,13 @@ handlers, respectively. Given @samp{-a} option, unexecuted blocks are
|
|||
marked @samp{$$$$$} or @samp{%%%%%}, depending on whether a basic block
|
||||
is reachable via non-exceptional or exceptional paths.
|
||||
|
||||
Note that GCC can completely remove the bodies of functions that are
|
||||
not needed -- for instance if they are inlined everywhere. Such functions
|
||||
are marked with @samp{-}, which can be confusing.
|
||||
Use the @option{-fkeep-inline-functions} and @option{-fkeep-static-functions}
|
||||
options to retain these functions and
|
||||
allow gcov to properly show their @var{execution_count}.
|
||||
|
||||
Some lines of information at the start have @var{line_number} of zero.
|
||||
These preamble lines are of the form
|
||||
|
||||
|
|
Loading…
Reference in New Issue