https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96534
Bug ID: 96534
Summary: keep gcov intermediate format
Product: gcc
Version: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: xlwu at synopsys dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
since gcc9, the gcov did not support intermediate format and replace with json
format , our application deeply depend on intermediate format , is it possible
to restore the intermediate format ? or could you let me know any workaround ?
background :
I am a software engineer from SNPS , we have an application that extract all
file+functions and it's related lines per test case, and we save this data into
DB which help us to predict the test to verify when RnD updated any lines in
source code before their check in. we call this application as "smart
regression".
now , when gcov move to json file, it increase the size a lot which affect the
efficiency to parse the data , what's worse, we had to revise our code to
support the new json format while we need to support the old format in the same
time , as our company have many products and each product have many live
branches , some of them still using gcc6 version.
I tried to use older gcov version on the new gcc instructed gcda and gcno file
, it did not work.