[gcov] Erase stale annotated source
Nathan Sidwell
nathan@acm.org
Wed Jan 11 19:01:00 GMT 2012
I've committed this gcov patch, which does 2 things:
*) if a source file contains no code, erase any annotation file for it. Such a
file will be misleading as it will refer to a previous instrumented program.
*) dynamically allocate the source line buffer, rather than use a fixed length
buffer.
nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcov.patch
Type: text/x-patch
Size: 5369 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120111/75469140/attachment.bin>
More information about the Gcc-patches
mailing list