]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Backport r257383
authorMartin Liska <mliska@suse.cz>
Wed, 7 Mar 2018 09:48:02 +0000 (10:48 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 7 Mar 2018 09:48:02 +0000 (09:48 +0000)
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-05  Martin Liska  <mliska@suse.cz>

PR gcov-profile/83879
* doc/gcov.texi: Document necessity of --dynamic-list-data when
using dlopen functionality.

From-SVN: r258329

gcc/ChangeLog
gcc/doc/gcov.texi

index 010614b14ef0b04533dee22a7ca14494bf3dfc8b..09d858bc6dbc1fc0b907506b6a2d9771f6fb8fa4 100644 (file)
@@ -1,3 +1,12 @@
+2018-03-07  Martin Liska  <mliska@suse.cz>
+
+       Backport from mainline
+       2018-02-05  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/83879
+       * doc/gcov.texi: Document necessity of --dynamic-list-data when
+       using dlopen functionality.
+
 2018-03-07  Martin Liska  <mliska@suse.cz>
 
        Backport from mainline
index 8e1ef5cdba815e36347f6cad9212a30767818ad9..54a1172cb94317dc89ad90d8b7ea5ca9dfa01ce7 100644 (file)
@@ -604,6 +604,8 @@ facilities to restrict profile collection to the program region of
 interest. Calling @code{_gcov_reset(void)} will clear all profile counters
 to zero, and calling @code{_gcov_dump(void)} will cause the profile information
 collected at that point to be dumped to @file{.gcda} output files.
+If an executable loads a dynamic shared object via dlopen functionality,
+@option{-Wl,--dynamic-list-data} is needed to dump all profile data.
 
 @c man end