[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #11 from Andrew Pinski --- *** Bug 110072 has been marked as a duplicate of this bug. ***

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #9 from Martin Liška --- Author: marxin Date: Wed Mar 7 09:48:02 2018 New Revision: 258329 URL: https://gcc.gnu.org/viewcvs?rev=258329=gcc=rev Log: Backport r257383 2018-03-07 Martin Liska Backport from

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #8 from Martin Liška --- Author: marxin Date: Tue Mar 6 20:06:45 2018 New Revision: 258296 URL: https://gcc.gnu.org/viewcvs?rev=258296=gcc=rev Log: Backport r257383 2018-03-06 Martin Liska Backport from

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-02-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-02-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #6 from Martin Liška --- Author: marxin Date: Mon Feb 5 09:19:18 2018 New Revision: 257383 URL: https://gcc.gnu.org/viewcvs?rev=257383=gcc=rev Log: Document --dynamic-list-data option for --coverage usage. 2018-02-05 Martin Liska

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-01-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #5 from Nathan Sidwell --- usage is --dynamic-list=file-name, which would be a little awkward. --dynamic-list-data is probably more useable and available.

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-01-22 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #4 from Marco Castelluccio --- Would it be feasible to force exporting "__gcov_master" to the dynamic symbol table when coverage instrumentation is enabled?

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-01-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #3 from Nathan Sidwell --- Aha, this is the behaviour of the static linker. It is not placing '__gcov_master' into main's dynamic symbol table. So dlloading the shared objects do not see it, and have their own instance. To confuse

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-01-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 --- Comment #2 from Nathan Sidwell --- The multiple definitions of gcov_master should not be a problem. The (ELF) semantics of shared libraries are such that the definition in the main program preempts the defiitions in the libraries. The

[Bug gcov-profile/83879] __gcov_dump doesn't work with dlopen-ed libraries

2018-01-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83879 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|