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]

gcov internal changes


I've committed this patch to reorganize the internal data structures of gcov in preparation for some future features. The main change is that the sources list becomes an array. This changes references to a source_info object to be an index into the array, rather than a pointer.

In making this change I noticed a bug introduced by my comdat support. We were adding a function into the list for a source file before determining whether that instance of the function was in the executable at all.

built & tested on i686-pc-linux-gnu.

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]