On Thu, Mar 14, 2013 at 1:58 PM, Philippe Waroquiers <[email protected]> wrote: > On Thu, 2013-03-14 at 19:21 +0000, Phil Longstaff wrote: >> How hard would it be for memcheck to not report a block as being >> potentially lost if the internal pointer could be a pointer to a base >> class? Is there sufficient info in the debug information? > No, I do not think so.
Probably correct in general. But... For polymorphic C++ classes -- presumably a common case when you have a pointer to an internal base class -- dynamic_cast<Derived>() has to work somehow. So I would imagine Valgrind could use the same RTTI mechanism. In theory. - Pat ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
