From: Peter Oberparleiter [mailto:email@example.com]
Sent: Thu 1/27/2005 5:52 AM
Cc: Suchitra Kolipaka
Subject: Re: [Ltp-coverage] merging coverage data
Suchitra Kolipaka wrote:
> Is there an option to lcov that would merge 2 sets of .da files that
> were obtained on the same source, but on 2 different environments?
You need to differentiate between LCOV which generates .info files and
GCOV/gcc which generate .da files. I don't know of any tool which adds
.da file contents, but LCOV has a command line option '--add' which does
exactly that for .info files.
lcov -a tracefile1.info -a tracefile2.info -o tracefile_result.info