diff options
author | Martin Liska <mliska@suse.cz> | 2018-02-05 10:19:18 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-02-05 09:19:18 +0000 |
commit | 239dc1a3b75b6bdd1e2fcda8dc8b9464fae41fe1 (patch) | |
tree | d7037d5e8a46d6496904ae97ba6b6e88b63d0578 /gcc/doc/gcov.texi | |
parent | 55f956ff7ceb5b42759c1873841444f36ca6fed9 (diff) | |
download | gcc-239dc1a3b75b6bdd1e2fcda8dc8b9464fae41fe1.zip gcc-239dc1a3b75b6bdd1e2fcda8dc8b9464fae41fe1.tar.gz gcc-239dc1a3b75b6bdd1e2fcda8dc8b9464fae41fe1.tar.bz2 |
Document --dynamic-list-data option for --coverage usage.
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: r257383
Diffstat (limited to 'gcc/doc/gcov.texi')
-rw-r--r-- | gcc/doc/gcov.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index b55ee852..6157e8b 100644 --- a/gcc/doc/gcov.texi +++ b/gcc/doc/gcov.texi @@ -788,6 +788,8 @@ Instrumented applications use a static destructor with priority 99 to invoke the @code{__gcov_dump} function. Thus @code{__gcov_dump} is executed after all user defined static destructors, as well as handlers registered with @code{atexit}. +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 |