public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gcno file question
@ 2011-03-24 12:59 Joel Sherrill
  0 siblings, 0 replies; only message in thread
From: Joel Sherrill @ 2011-03-24 12:59 UTC (permalink / raw)
  To: gcc

Hi,

RTEMS has been using simulators and some
programs we wrote for coverage analysis
for a while now.

I am looking into writing a converter which
takes coverage data from simulators and produces
.gcno files.  The coverage data is often just
a bitmap of which addresses were executed.  There
is no frequency, just yes/no.  We can already
map that information back to file/line.

+ Is this enough to produce a .gcno file from?

+ What records need to be generated as a minimum?

As a technical sanity question, the RTEMS code
is in a library and we are merging coverage
data from multiple executables to get unified
coverage data.  We abstract away physical
address into offsets into methods and file/line.
Does generating a .gcno from this merged data
sound feasible?

Thoughts, insights, comments appreciated.

Thanks.

-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-24 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-24 12:59 gcno file question Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).