On Tuesday 26 February 2008, Konstantin Serebryany wrote:
> >> At instrumentation time, check if a given instruction is the first
> of a function according to debug information.
> Is that reliable?
> Does valgrind instrument each routine completely before starting
> another routine (I beg my pardon for my ignorance here).

No. Why is this needed?
Only the parts which are to be executed are instrument before, at the
granularity of superblocks. This means that the function context can
change multiple times for one code piece to instrument. This can be
switched off to work on basic blocks instead (which Callgrind is doing).

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-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to