[cfe-dev] Any work on code coverage "add-on" like gcov?
daniel at zuster.org
Tue Sep 2 13:09:43 PDT 2008
As far as I know no work is being done on this.
Adding support for emitting the same kind of instrumentation used by gcov
would probably not be very difficult and seems fairly reasonable. One issue
that may come up here is that gcov is tied fairly tightly, I believe, with
gcc and libgcc versions. I know this impacts the file format, I'm not sure
much this impacts the actual instrumentation. I suspect the in memory
instrumentation data structures are tightly coupled to the gcov version,
complicates configuration and maintenance if you want it to interoperate
seamlessly with the system gcc & gcov.
Of course, designing a separate coverage instrumentation system would also
be a viable approach, but significantly more work...
On Tue, Sep 2, 2008 at 12:36 PM, Shawn Erickson <shawnce at gmail.com> wrote:
> I am wondering if any work is taking place or is possibly planned to
> bring code coverage instrumentation to clang (emit code with
> instrumentation, ideally robustly dealing with macro expansion). I
> believe all of it would/could be done in the front end?
> If no work is taking place or planned any opinions on this topic?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev