This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

another gcov reworking


It turned out that I needed to insert this cleanup before the final one. This patch breaks out the dumping functionality from gcov exit, and thereby removes the global variables from the former. This makes gcov-tool less dependent on what should be internal interfaces in libgcov.

I also noticed a couple of other problems:
1) gcov_var wasn't hidden, thus it'll be  shared between all shared objects
2) gcov_rewrite was no longer being inlined, and as it wasn't hidden would have the same problem.

Once committed, I'll be able to do the final cleanup to make cross-shared object dumping easy.

nathan

Attachment: all.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]