🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #518

TCOV Support from GCC

#518
From: Jaisimha Muthegere
Date: Mon, 28 Sep 1992 19:39
19 lines
1323 bytes
I installed GCC 2.1 on our Sun-4s, and realized that there is no tcov support
from GCC.  However, GCC supports the -a option, but does not create a suitable
.d file for the block count/profiles to be written to.

I have been poring through the source code, and have found the place(s)
where such a file must be created, when the profiling code is actually
generated, how it has to link with /usr/lib/bb_link.o, and so on.
However, I haven't been able to figure out the "block structure" assumed
by GCC with respect to actually, writing line numbers into the .d file.

Any idea if there is a patch for this, or do we have to manage without tcov for
code coverage?

Appreciate your input....  Thanks...

- Jaisimha

--
Jaisimha Muthegere		E-mail: texatrium!jaisimha@emx.utexas.edu
Technical Details
Message-ID: <jaisimha.717709185@pv031e.vincent.iastate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!iastate.edu!jaisimha

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!iastate.edu!jaisimha
From: jaisimha@iastate.edu (Jaisimha Muthegere)
Subject: TCOV Support from GCC
Message-ID: <jaisimha.717709185@pv031e.vincent.iastate.edu>
Summary: Is there a patch for GCC that allows TCOV support?
Keywords: tcov, block-profiling, gcc, GNU
Sender: gnulists@ai.mit.edu
Organization: Iowa State University, Ames IA
Distribution: gnu
Date: Mon, 28 Sep 1992 19:39:45 GMT
Lines: 20