This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/7970] Arc profiling doesn't work reliably on global destructors
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2003 11:35:22 -0000
- Subject: [Bug middle-end/7970] Arc profiling doesn't work reliably on global destructors
- References: <20020918065602.7970.asuffield@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From hubicka at gcc dot gnu dot org 2003-12-29 11:35 -------
I am not familiar with global destructors mechanizm, but can we assign each profiled file global destructor that will save profiles only for that file and manage priorities so they are run very last? That would solve this problem as well as the problem with profile being corrupted when dlclose is called...
Honza
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathan at codesourcery dot
| |com, rth at redhat dot com,
| |rakdver at atrey dot karlin
| |dot mff dot cuni dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7970