« Return to Thread: Experimental Valgrind coverage tool (fwd)

Re: Experimental Valgrind coverage tool (fwd)

by Bugzilla from josef.weidendorfer@gmx.de :: Rate this Message:

Reply to Author | View in Thread

On Thursday 07 February 2008, Oliver Gerlich wrote:
> way to get it working correctly for this "not-instantiated template"
> case... That's why I'm interested whether someone has found solution for
> this.

When the compiler does not instantiate a template, there is
no code generated for that template, and there can not be any debug info
for not existing code.

Thus, any coverage tool purely based on the binary and its debug info
has no way to know about the existance of template code without instantiation.

To make this work, you need additional information from the compiler.
Does gcov cover this issue?

Josef



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@...
https://lists.sourceforge.net/lists/listinfo/valgrind-users

 « Return to Thread: Experimental Valgrind coverage tool (fwd)