This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Oct 2017 14:18:05 +0000
- Subject: [Bug gcov-profile/82702] gcov intermediate format is creating multiple 'gcov' files, it was creating a single file up to GCC 6
- Auto-submitted: auto-generated
- References: <bug-82702-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82702
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
> We are not using directly lcov, but a replacement we rewrote in Rust.
> We can easily support reading from multiple gcov files instead of one
> (actually, we already support it when llvm is used, since it doesn't support
> the intermediate format).
> The only problem is that it slows down parsing for large projects, which is
> unfortunate since I guess the intermediate format was introduced to speed-up
> parsing. We have a lot of included files (e.g. I just run it with one of our
> gcno files and it generated 160
> gcov files), so clearly opening and reading thousands of files is faster
> than opening and reading hundreds of thousands.
Agree, so let's print it to a single file. I'll work on that.